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§
- Simple
Slice Deserializer - This struct implements a simple data deserializer. It is the counterpart of
the
SimpleDataSerializertrait. - Simple
Slice Serializer - This struct implements a simple serializer that writes data into a borrowed byte slice.
Enums§
- Error
Kind - Errors generated by this
Traits§
- Simple
Data Deserializer - This trait implements a simple deserializer for basic data types.
It follows the format used by Java’s
java.io.DataOutputStreamso it reads the values using the big endian format. - Simple
Data Serializer - This trait implements a simple serializer for basic data types.
It follows the format used by Java’s
java.io.DataOutputStreamand write all values using the big endian format.