[−][src]Function fbs::read_scalar_at
pub fn read_scalar_at<T: EndianScalar>(s: &[u8], loc: usize) -> Result<T, Error>
Read an EndianScalar from the provided byte slice at the specified location. Performs endian conversion, if necessary.