Module buffer

Module buffer 

Source
Expand description

Minimal utility for reading & writing the types we need to internal storage, without relying on types in third party libraries like bytes::Bytes, etc. Meant to be kept slim and trim for use across both native and WASM.

Structs§

CountWriter
A BufWriter that only counts the bytes.
Cursor
A cursor based BufReader<'de> implementation.
TeeWriter
A BufWriter that writes the bytes to two writers W1 and W2.

Enums§

DecodeError
An error that occurred when decoding.

Traits§

BufReader
A buffered reader of some kind.
BufWriter
A buffered writer of some kind.