pub trait ByteOrderIo: Unsigned {
    fn write_bytes<W, B>(self, writer: W) -> Result<(), W::Error>
    where
        W: Writer,
        B: ByteOrder
; fn read_bytes<'de, R, B>(reader: R) -> Result<Self, R::Error>
    where
        R: Reader<'de>,
        B: ByteOrder
; }
Expand description

Helper trait for performing I/O over Unsigned types.

Required Methods

Write the current byte array to the given writer in little-endian encoding.

Read the current value from the reader in little-endian encoding.

Implementations on Foreign Types

Implementors