[][src]Function flatbuffers::read_scalar

pub fn read_scalar<T: EndianScalar>(s: &[u8]) -> T

Read an EndianScalar from the provided byte slice. Performs endian conversion, if necessary.