Searched refs:ToByteArray (Results 1 – 9 of 9) sorted by relevance
74 var bytes = message.ToByteArray(); in NonDefaultSingleValues()104 var bytes = message.ToByteArray(); in NonNullDefaultIsPreservedThroughSerialization()143 var bytes = message.ToByteArray(); in RepeatedWrappersSerializeDeserialize()171 var actualBytes = message.ToByteArray(); in RepeatedWrappersBinaryFormat()197 var bytes = message.ToByteArray(); in MapWrappersSerializeDeserialize()291 var bytes = message.ToByteArray(); in AssertOneofRoundTrip()316 originalMessage.MergeFrom(mergingMessage.ToByteArray()); in Merging()357 var bytes = new TestWellKnownTypes { Int32Field = 0 }.ToByteArray(); in MergingStreamNoValue()
107 public static byte[] ToByteArray(this IMessage message) in ToByteArray() method in Google.Protobuf.MessageExtensions154 return ByteString.AttachBytes(message.ToByteArray()); in ToByteString()
120 public byte[] ToByteArray() in ToByteArray() method in Google.Protobuf.ByteString
131 byte[] bytes = message.ToByteArray(); in RoundTrip_Empty()166 byte[] bytes = message.ToByteArray(); in RoundTrip_SingleValues()200 byte[] bytes = message.ToByteArray(); in RoundTrip_RepeatedValues()232 byte[] bytes = message.ToByteArray(); in RoundTrip_Maps()245 byte[] bytes = message.ToByteArray(); in MapWithEmptyEntry()618 var bytes = message.ToByteArray(); in OneofSerialization_NonDefaultValue()632 var bytes = message.ToByteArray(); in OneofSerialization_DefaultValue()662 var data = SampleMessages.CreateFullTestAllTypes().ToByteArray(); in IgnoreUnknownFields_AllTypes()
113 byte[] data = bs.ToByteArray(); in ToByteArrayCopiesContents()161 Assert.AreEqual(data, bs.ToByteArray()); in FromBase64_WithText()
234 byte[] rawBytes = message.ToByteArray(); in ReadWholeMessage_VaryingBlockSizes()323 …ream input = CodedInputStream.CreateWithLimits(new MemoryStream(data64.ToByteArray()), 1000000, 63… in MaliciousRecursion()332 … MemoryStream ms = new MemoryStream(SampleMessages.CreateFullTestAllTypes().ToByteArray()); in SizeLimit()
198 byte[] rawBytes = message.ToByteArray(); in WriteWholeMessage_VaryingBlockSizes()
63 bytes = book.ToByteArray(); in Main()
75 byte[] outputData = response.ToByteArray(); in RunTest()