pub trait FromBytes {
    const N: usize;

    fn from_be_bytes(bytes: [u8; Self::N]) -> Self;
    fn from_le_bytes(bytes: [u8; Self::N]) -> Self;
    fn from_ne_bytes(bytes: [u8; Self::N]) -> Self;
}

Required Associated Constants

Required Methods

Implementations on Foreign Types

Implementors