[−][src]Trait tree_buf::internal::reader_writer::WriterStream
Associated Types
type Options: EncodeOptions
Required methods
fn write_with_id<T: TypeId>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T
fn write_with_len<T>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T
fn bytes(&mut self) -> &mut Vec<u8>
fn options(&self) -> &Self::Options
Provided methods
fn restore_if_void<T: TypeId>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T
fn reserve_and_write_with_varint(
&mut self,
max: u64,
f: impl FnOnce(&mut Self) -> u64
)
&mut self,
max: u64,
f: impl FnOnce(&mut Self) -> u64
)