pub fn write_zigzag<T, const S: usize>( val: T, bytes: &mut Vec<u8>, pos: &mut usize, bits: &mut u8, ) -> Result<(), SerializationError>where T: ZigZag, T::Unsigned: FixedInt<S>,