Module buf

Source
Expand description

Types and traits for working with serialization and deserialization buffers

Structs§

DeBytesReader
Adapter type which implements double-ended read buffer over byte slice
DeBytesWriter
Adapter type which implements double-ended write byte buffer over mutable byte slice
ReadFromTail
Adapter which implements ReadBytes for reading from the end of the buffer.
WriteToHead
Adapter for always writing to buffer head, even for write_tail()
WriteToTail
Adapter which implements WriteBytes for writing to the end of double-ended buffer

Traits§

ReadBytes
Simple byte reader from buffer
TailReadBytes
Trait for reading from the tail of byte buffer
TailWriteBytes
Trait for writer to the tail of byte buffer
WriteBytes
Trait for writer to the byte buffer