Collection of utilities for working with async io and raw bytes.
ByteStr, aBytesthat contains a valid UTF-8Either, represent 2 types that have the same behavioratoi, parse bytes directly to signed/unsigned integerCursor, unsafely iterate over bytes without bounds checkingFutureadapters
This crate also contains shared async types, such:
AsyncIoReadandAsyncIoWrite
Other types are exploration that may or may not be persist in future version.
Other than providing ready to use APIs, this repository also contains guide to creating your own:
- collections, how memory is allocated, reallocated, and deallocated
- reference counter, how to manage counter, atomic ordering, and deallocation.
- synchronization, how to store and call waker.
- event model, how to read io, partial parsing, and streaming data.