heathermiller / scala-pickling

Fast, customizable, boilerplate-free pickling support for Scala. MOVED TO http://github.com/scala/pickling
18 stars 1 forks source link

Unpickling (binary) on primitives sometimes a little wacky #2

Closed heathermiller closed 11 years ago

heathermiller commented 11 years ago
scala> val p = 4.pickle
p: scala.pickling.binary.BinaryPickle = BinaryPickle([0,0,0,9,115,99,97,108,97,46,73,110,116,0,0,0,4])

scala> p.unpickle[Int]
res2: Int = 9