pub trait BytesConvertible {
    fn read_bytes_be<R>(buf: &mut R) -> Result<Self>
    where
        Self: Sized,
        R: Read
; fn read_bytes_le<R>(buf: &mut R) -> Result<Self>
    where
        Self: Sized,
        R: Read
; fn write_bytes_be<W>(self, buf: &mut W) -> Result<usize>
    where
        Self: Sized,
        W: Write
; fn write_bytes_le<W>(self, buf: &mut W) -> Result<usize>
    where
        Self: Sized,
        W: Write
; }

Required Methods

Implementations on Foreign Types

Implementors