Function little_endian::read
[−]
[src]
pub fn read<T: Encode>(buf: &[u8]) -> T
Read an integer from a buffer.
This writes buf
through the methods in T
's implementation of Encode
.