Trait fixed_byterepr::FromBytes
source · [−]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
source
fn from_be_bytes(bytes: [u8; Self::N]) -> Self
source
fn from_le_bytes(bytes: [u8; Self::N]) -> Self
source