[][src]Trait ordcode::buf::TailWriteBytes

pub trait TailWriteBytes: WriteBytes {
    pub fn write_tail(&mut self, value: &[u8]) -> Result;
}

Trait for writer to the tail of byte buffer

Required methods

pub fn write_tail(&mut self, value: &[u8]) -> Result[src]

Write to the tail of byte buffer

Loading content...

Implementations on Foreign Types

impl<T, '_> TailWriteBytes for &'_ mut T where
    T: TailWriteBytes
[src]

impl TailWriteBytes for Vec<u8>[src]

Pushes data to the vector, same as write()

This means that Serializer can write to Vec<u8> buffer directly and grow it as needed, however in this case lexicographic ordering property will not be preserved.

Loading content...

Implementors

impl<'a> TailWriteBytes for DeBytesWriter<'a>[src]

impl<'a, W> TailWriteBytes for WriteToHead<'a, W> where
    W: TailWriteBytes
[src]

Loading content...