Searched refs:WriteLength (Results 1 – 4 of 4) sorted by relevance
272 WriteLength(length); in WriteString()302 WriteLength(value.CalculateSize()); in WriteMessage()313 WriteLength(value.Length); in WriteBytes()378 public void WriteLength(int length) in WriteLength() method in Google.Protobuf.CodedOutputStream
320 output.WriteLength(codec.CalculateSizeWithTag(value)); in Write()
262 output.WriteLength(2 + nestedMessage.CalculateSize()); in MapWithOnlyValue()279 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue()296 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_MessageValue()320 output.WriteLength(6); in MapIgnoresExtraFieldsWithinEntryMessages()346 output.WriteLength(4); in MapFieldOrderIsIrrelevant()372 output.WriteLength(4); in MapNonContiguousEntries()382 output.WriteLength(6); // 3 bytes per entry: tag, size, character in MapNonContiguousEntries()392 output.WriteLength(4); in MapNonContiguousEntries()420 output.WriteLength(4); in DuplicateKeys_LastEntryWins()428 output.WriteLength(4); in DuplicateKeys_LastEntryWins()
161 output.WriteLength(2); in RepeatedWrappersBinaryFormat()166 output.WriteLength(0); in RepeatedWrappersBinaryFormat()338 coded.WriteLength(2); // valueTag + a value 0, each one byte in MergingStreamExplicitValue()398 output.WriteLength(4); // unknownTag + value 5 + valueType + value 6, each 1 byte in UnknownFieldInWrapper()