Home
last modified time | relevance | path

Searched refs:ToByteString (Results 1 - 12 of 12) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DCustomOptions.cs220 ByteString bytes = single.GetValue().ToByteString();
229 .Select(v => v.ToByteString())
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DFieldMaskTreeTest.cs167 newSource.MergeFrom(source.ToByteString()); in Merge()
170 newDestination.MergeFrom(destination.ToByteString()); in Merge()
179 destination.MergeFrom(newDestination.ToByteString()); in Merge()
H A DCodedInputStreamTest.cs362 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(message.ToByteString()); in ReadHugeBlob()
493 ByteString atRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit).ToByteString(); in MaliciousRecursion()
494 ByteString beyondRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit + 1).ToByteString(); in MaliciousRecursion()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
H A DAnyTest.cs99 Assert.That(text, Does.Contain("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); in ToString_WithValues()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DAnyPartial.cs143 Value = message.ToByteString() in Pack()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DCodedInputStreamTest.cs263 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(message.ToByteString()); in ReadHugeBlob()
316 ByteString atRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit).ToByteString(); in MaliciousRecursion()
317 ByteString beyondRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit + 1).ToByteString(); in MaliciousRecursion()
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
H A DProgram.cs152 return new ConformanceResponse { ProtobufPayload = message.ToByteString() }; in PerformRequest()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DAnyTest.cs117 Assert.That(text, Does.Contain("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); in ToString_WithValues()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorDeclarationTest.cs170 var byteStrings = descriptorSet.File.Select(f => f.ToByteString()).ToList(); in LoadProtos()
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DFieldMaskTree.cs336 var sourceByteString = ((IMessage)sourceField).ToByteString(); in Merge()
H A DMessageExtensions.cs143 public static ByteString ToByteString(this IMessage message) in ToByteString() method in Google.Protobuf.MessageExtensions
H A DJsonParser.cs555 var data = body.ToByteString(); in MergeAny()

Completed in 10 milliseconds