Expand description
A Writer that can put its results into an buffer of known byte size without changing that size.
TODO: This API is crate-private in tor-cell because tor-cell is the only one to use it – and only uses it in one place. Its existence may be an argument for refactoring the Writer API entirely.
NOTE: This will likely change or go away in the future.
Structs§
- Slice
Writer 🔒 - An object that supports writing into a byte-slice of fixed size.
Enums§
- Slice
Writer 🔒Error - An error that occurred while trying to unwrap a SliceWriter.