fn decode_variable<R: Read>(reader: &mut R) -> Result<u64, AvroError>