Struct il2_utils::simple_serialization::SimpleSliceDeserializer [−][src]
pub struct SimpleSliceDeserializer<'a> { /* fields omitted */ }Expand description
This struct implements a simple data deserializer. It is the counterpart of
the SimpleDataSerializer trait.
The template parameter E is the type used to define the type of the error that will compose the results. The actual value of E is defined by the constructor.
Implementations
Creates a new instance that reads data from the slice and returns the specified value on error.
Trait Implementations
Reads the specified umber of bytes. The data read will available
by Self::data(). Read more
Writes a byte array. The size of the byte array is encoded as an u16 value followed by the bytes of the array. Read more