Function little_endian::read [] [src]

pub fn read<T: Decode>(buf: &[u8]) -> T

Read an integer from a buffer.

This writes buf through the methods in T's implementation of Decode.