Constructable provides a simple way to add serialization support to a more basic type.
The place to read data from.
The place to read data from.
The place to write data to.
The place to write data to.
A convenience wrapper for Readable and Writable.
Inner trait for reading from Input.
Inner trait for writing to Output.
Map collection types.
Map collection types.
Standard collection types.
Standard collection types.
Unmarshalls the object using the implicit Handler Usage: DataSerialization.
Unmarshalls the object using the implicit Handler Usage: DataSerialization.fromBytes[T](bytes)
Uses Java serialization.
Sugar for implicitly[Readable[T]].
Sugar for implicitly[Readable[T]].read(source);
Reads elements of type T into the given buildable.
Reads elements of type T into the given buildable. Inverse of writeIterable.
Marshalls the object using the implicit Handler to a byte array Usage: DataSerialization.
Marshalls the object using the implicit Handler to a byte array Usage: DataSerialization.toBytes(myData)
Sugar for implicitly[Writable[T]].
Sugar for implicitly[Writable[T]].write(sink,what);
Writes elements of the given collection.
Writes elements of the given collection. Inverse of readBuildable.
writeNameOpt is like writeName, but Serialization formats aren't required to use it.
writeNameOpt is like writeName, but Serialization formats aren't required to use it. Defaults to just calling writeName
If you override writeNameOpt to do nothing, override this
If you override writeNameOpt to do nothing, override this
File-backed Serialization with standard combinators using optimized binary formats where able, default Java serialization otherwise.