Expand description
This library is a byte utility which provides simplified APIs over to_le_bytes, from_le_bytes, to_be_bytes, from_be_bytes and a java-like ByteBuf. The library also works in no_std mode.
Structs
- A java-like wrapper over a buffer of bytes.
Traits
- Endian aware read from a byte buffer.
- ReadExt
stdEndian aware read from a Read. - ReadFill
stdAllows to read into a buffer as much as possible. - ReadFrom
stdEndian aware read from a Read. - ReadToVec
stdAllows reading an entire IO stream into a vec. - Endian aware write to a byte buffer.
- WriteExt
stdEndian aware write to a Write. - WriteTo
stdEndian aware write to a Write.
Type Aliases
- A shortcut to create a stack allocated fixed size ByteBuf