Trait codec::byte::MemComparableByteEncoder[][src]

pub trait MemComparableByteEncoder: NumberEncoder {
    fn write_comparable_bytes(&mut self, bs: &[u8]) -> Result<()> { ... }
fn write_comparable_bytes_desc(&mut self, bs: &[u8]) -> Result<()> { ... } }

Provided methods

fn write_comparable_bytes(&mut self, bs: &[u8]) -> Result<()>[src]

Writes all bytes in ascending memory-comparable format.

Errors

Returns Error::Io if buffer remaining size is not enough.

fn write_comparable_bytes_desc(&mut self, bs: &[u8]) -> Result<()>[src]

Writes all bytes in descending memory-comparable format.

Errors

Returns Error::Io if buffer remaining size is not enough.

Loading content...

Implementors

impl<T: NumberEncoder> MemComparableByteEncoder for T[src]

Loading content...