pub fn write_small_dynamic_signed( val: i8, bytes: &mut Vec<u8>, pos: &mut usize, bits: &mut u8, bit_count: u8, ) -> Result<(), SerializationError>