Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DMapField.cs583 private readonly FieldCodec<TValue> valueCodec; field in Google.Protobuf.Collections.MapField.Codec
593 public Codec(FieldCodec<TKey> keyCodec, FieldCodec<TValue> valueCodec, uint mapTag) in Codec() argument
596 this.valueCodec = valueCodec; in Codec()
628 Value = codec.valueCodec.DefaultValue; in Reset()
640 else if (tag == codec.valueCodec.Tag) in MergeFrom()
642 Value = codec.valueCodec.Read(input); in MergeFrom()
654 … Value = codec.valueCodec.Read(new CodedInputStream(ZeroLengthMessageStreamData)); in MergeFrom()
661 codec.valueCodec.WriteTagAndValue(output, Value); in WriteTo()
666 … return codec.keyCodec.CalculateSizeWithTag(Key) + codec.valueCodec.CalculateSizeWithTag(Value); in CalculateSize()