Crate binary_utils
source ·Expand description
This create provides important functions for reading and writing data
Enums§
- An enum containing the different variants, why the read and write functions could fail
Traits§
- A trait for types that need to be read from a binary stream
- A trait for types that have to be writen to an asyncronous stream
- A trait for types that need to be read from a binary stream but have an context based size
- A trait implemented by every Packet to make them Storeable and recogniseable
- A trait for types that have to read Packet data
- A trait for types that need to be read from a binary stream synchronously
- A trait for types that have to be written to a synchronous stream
Functions§
- Consumes a single utf16be character asyncronously from the provided reader
- Reads a single byte asyncronously from the provided reader
- Reads a single UTF-8 character asyncronously from the provided reader
- A function to asyncronously write data to the provided
writer.
Type Aliases§
- A type alias for
std::result::Resultwith the error type set toError.