pub trait WriteBytes {
    fn write_be_bytes<W: Write>(&self, writer: &mut W) -> Result<()>;
fn write_le_bytes<W: Write>(&self, writer: &mut W) -> Result<()>;
fn write_be_bytes_and_calc_bytes<W: Write>(
        &self,
        writer: &mut W,
        crc: &mut CRC<u32>
    ) -> Result<()>;
fn write_le_bytes_and_calc_bytes<W: Write>(
        &self,
        writer: &mut W,
        crc: &mut CRC<u32>
    ) -> Result<()>; }

Required methods

This method writes bytes in big-endian byte order.

This method writes bytes in little-endian byte order.

Implementations on Foreign Types

Implementors