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