Expand description
This module contains writer-based structs and traits.
Because std::io::Write
is only limited to std
and not core
, we provide our own Writer.
Structs§
- Size
Writer - A writer that counts how many bytes were written. This is useful for e.g. pre-allocating buffers bfeore writing to them.
- Slice
Writer - A helper struct that implements
Writer
for a&[u8]
slice.