Skip to main content

Module slicewriter

Module slicewriter 

Source
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ยง

SliceWriter ๐Ÿ”’
An object that supports writing into a byte-slice of fixed size.

Enumsยง

SliceWriterError ๐Ÿ”’
An error that occurred while trying to unwrap a SliceWriter.