Constructable provides a simple way to add serialization support to a more basic type.
Constructable provides a simple way to add serialization support to a more basic type. In a companion object, extend a SerializationFormat's Constructable as an implicit object.
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.
A convenience wrapper for Readable and Writable.
Inner trait for reading from Input.
Inner trait for reading from Input.
Inner trait for writing to Output.
Inner trait for writing to Output.
Map collection types.
Map collection types.
Standard collection types.
Standard collection types.
Encoding used by this StringSerialization instance.
Encoding used by this StringSerialization instance. Defaults to UTF8, independent of platform.
Returns fromString called on the string created using the this.
Returns fromString called on the string created using the this.encoding as the byte encoding of given bytes.
Demarshalls a value from the given string.
Demarshalls a value from the given string.
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.
Reads a name from the input, consisting of letters, digits, underscore, period, and dollar sign.
Reads a name from the input, consisting of letters, digits, underscore, period, and dollar sign.
Returns a byte array using the this.
Returns a byte array using the this.encoding as the byte encoding of the value returned by toString.
Marshalls the given value as a string.
Marshalls the given value as a string.
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