tof_dataclasses::serialization

Function parse_u32_for_16bit_words

Source
pub fn parse_u32_for_16bit_words(bs: &Vec<u8>, pos: &mut usize) -> u32
Expand description

Get an u32 from a bytestream

This assumes an underlying representation of an atomic unit of 16bit instead of 8. This is realized for the raw data stream from the readoutboards.