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§
- ByteBuf
- A java-like wrapper over a buffer of bytes.
- Combine
std
- A tool which combines a Read+Seek and a Write+Seek into a Read+Write+Seek.
Traits§
- Read
Bytes - Endian aware read from a byte buffer.
- ReadExt
std
- Endian aware read from a Read.
- Read
Fill std
- Allows to read into a buffer as much as possible.
- Read
From std
- Endian aware read from a Read.
- Read
ToVec std
- Allows reading an entire IO stream into a vec.
- Write
Bytes - Endian aware write to a byte buffer.
- Write
Ext std
- Endian aware write to a Write.
- WriteTo
std
- Endian aware write to a Write.
Type Aliases§
- Static
Byte Buf - A shortcut to create a stack allocated fixed size ByteBuf