Wraps a value of an unserialized type T in a KryoSerializationWrapper[T],
which gives one a way to serialize T.
NOTE:
The vast majority of this code is copied / based off of the classes with the same
name in the Apache Shark project.
Original file is here (accessed on April 20, 2015):
https://github.com/amplab/shark/blob/master/src/main/scala/shark/execution/serialization/KryoSerializationWrapper.scala
Wraps a value of an unserialized type T in a KryoSerializationWrapper[T], which gives one a way to serialize T.
NOTE: The vast majority of this code is copied / based off of the classes with the same name in the Apache Shark project.
Original file is here (accessed on April 20, 2015): https://github.com/amplab/shark/blob/master/src/main/scala/shark/execution/serialization/KryoSerializationWrapper.scala