Module ser_heap

Module ser_heap 

Source

Structs§

ByteSerializerHeap
A byte buffer allocated on heap backed by Vec<u8>, can be reused and recycled by calling Self::clear(). Example: Create a Buffer and serialize data into it.

Traits§

ByteSerializeHeap
Trait type accepted by ByteSerializerHeap for serialization. Example: Define structure and manually implement ByteSerializeHeap trait then use it to serialize.

Functions§

to_bytes_heap
Analogous to to_serializer_heap but returns an instance of Vec<u8>
to_serializer_heap
Analogous to to_bytes_heap but returns an instance of ByteSerializerHeap