Home
last modified time | relevance | path

Searched refs:keyCodec (Results 1 – 1 of 1) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DMapField.cs582 private readonly FieldCodec<TKey> keyCodec; field in Google.Protobuf.Collections.MapField.Codec
593 public Codec(FieldCodec<TKey> keyCodec, FieldCodec<TValue> valueCodec, uint mapTag) in Codec() argument
595 this.keyCodec = keyCodec; in Codec()
627 Key = codec.keyCodec.DefaultValue; in Reset()
636 if (tag == codec.keyCodec.Tag) in MergeFrom()
638 Key = codec.keyCodec.Read(input); in MergeFrom()
660 codec.keyCodec.WriteTagAndValue(output, Key); in WriteTo()
666 … return codec.keyCodec.CalculateSizeWithTag(Key) + codec.valueCodec.CalculateSizeWithTag(Value); in CalculateSize()