Module serial

Source
Expand description

Standard serialization encoding for the project

Functions§

decode
Decodes an object from a series of bytes
decode_with_size
Decodes an object from a series of bytes that has had a size tacked on the front as a u64
decode_with_size_ptr
Decodes an object from a series of bytes given as a pointer that has had a size tacked on the front as a u64
encode
Encodes an object as a series of bytes
encode_with_size
Encodes an object as a series of bytes, tacking on the size of the data as a u64 at the front