pub trait FromBytesLE: Sized { fn from_bytes_le(src: &[u8]) -> Result<(usize, Self), Error>; }
Deserialize a sequence of bytes into a type in little endian.
Read data from src in order to create an instance Self in little endian. The usize in the Result is the number of bytes read from src.
src
Self
usize
Result