protected override object DeserializeSafe(IDecoder decoder) { return(new AvroEnum(this.Schema) { IntegerValue = decoder.DecodeInt() }); }
protected override void SkipSafe(IDecoder decoder) { int index = decoder.DecodeInt(); this.Schema.Schemas[index].Serializer.Skip(decoder); }
protected override object DeserializeSafe(IDecoder decoder) { int index = decoder.DecodeInt(); return(this.Schema.Schemas[index].Serializer.Deserialize(decoder)); }
protected override object DeserializeSafe(IDecoder decoder) { return(decoder.DecodeInt()); }