Function parse_f16

Source
pub fn parse_f16<T: AsRef<[u8]>>(stream: &T, pos: &mut usize) -> f16
Expand description

Get a f16 from a vector of bytes and advance a position marker by 2

f16 is called "half" and a non-common datatype which can dependent on the implementaion. The implementation used here is from the rust "half" crate