tof_dataclasses::serialization

Function parse_u48_for_16bit_words

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

Get an 48bit number 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.