Searched refs:valueCodec (Results 1 – 1 of 1) sorted by relevance
583 private readonly FieldCodec<TValue> valueCodec; field in Google.Protobuf.Collections.MapField.Codec593 public Codec(FieldCodec<TKey> keyCodec, FieldCodec<TValue> valueCodec, uint mapTag) in Codec() argument596 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()