pub fn u8_to_u16_14bit(vec_u8: &[u8]) -> Vec<u16>
Expand description
Restore a vector of u16 from a vector of u8
This interpretes two following u8 as an u16 Useful for deserialization of waveforms. Additionally it masks the first 2 bits binary adding 0x3ff to each u16.