Module il2_utils::simple_serialization [−][src]
Expand description
This module implements a simple data serializer/deserialzer that can be used to read/write data serializations in memory. Most of the functions here where designed to use pre-allocated memory segments and/or vectors in place. As such, this module is not recommended for complex serializations or large values.
If you want to use the operation ? to remap the errors form this just
implement the trait std::convert::From to convert ErrorKind into
your own error type.
Structs
This struct implements a simple data deserializer. It is the counterpart of
the SimpleDataSerializer trait.
This struct implements a simple serializer that writes data into a borrowed byte slice.
Enums
Errors generated by this
Traits
This trait implements a simple deserializer for basic data types.
It follows the format used by Java’s java.io.DataOutputStream so it
reads the values using the big endian format.
This trait implements a simple serializer for basic data types.
It follows the format used by Java’s java.io.DataOutputStream and write
all values using the big endian format.