Home
last modified time | relevance | path

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

/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DDefaultDeserializationContextTest.cs132 var payload = context.PayloadAsNewBuffer(); in PayloadAsNewByteBuffer_ZeroSegmentPayload()
149 var payload = context.PayloadAsNewBuffer(); in PayloadAsNewByteBuffer_SingleSegmentPayload()
167 var payload = context.PayloadAsNewBuffer(); in PayloadAsNewByteBuffer_MultiSegmentPayload()
188 var payload = context.PayloadAsNewBuffer(); in GetPayloadMultipleTimesIsIllegal()
192 Assert.Throws(typeof(InvalidOperationException), () => context.PayloadAsNewBuffer()); in GetPayloadMultipleTimesIsIllegal()
209 Assert.Throws(typeof(NullReferenceException), () => context.PayloadAsNewBuffer()); in ResetContextAndReinitialize()
217 CollectionAssert.AreEqual(origBuffer2, context.PayloadAsNewBuffer()); in ResetContextAndReinitialize()
/third_party/grpc/src/csharp/Grpc.Core.Tests/
DMarshallerTest.cs66 return System.Text.Encoding.UTF8.GetString(context.PayloadAsNewBuffer()); in SimpleSerializerEmulation()
96 public override byte[] PayloadAsNewBuffer() in PayloadAsNewBuffer() method in Grpc.Core.Tests.MarshallerTest.FakeDeserializationContext
DContextualMarshallerTest.cs64 var buffer = deserializationContext.PayloadAsNewBuffer(); in Init()
/third_party/grpc/src/csharp/Grpc.Core.Api/
DDeserializationContext.cs46 public virtual byte[] PayloadAsNewBuffer() in PayloadAsNewBuffer() method in Grpc.Core.DeserializationContext
DMarshaller.cs100 return this.deserializer(context.PayloadAsNewBuffer()); in EmulateContextualDeserializer()
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DDefaultDeserializationContext.cs42 public override byte[] PayloadAsNewBuffer() in PayloadAsNewBuffer() method in Grpc.Core.Internal.DefaultDeserializationContext
/third_party/grpc/src/csharp/Grpc.Reflection/
DReflectionGrpc.cs59 return parser.ParseFrom(context.PayloadAsNewBuffer());
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DReportQpsScenarioServiceGrpc.cs59 return parser.ParseFrom(context.PayloadAsNewBuffer());
DTestGrpc.cs64 return parser.ParseFrom(context.PayloadAsNewBuffer());
625 return parser.ParseFrom(context.PayloadAsNewBuffer());
786 return parser.ParseFrom(context.PayloadAsNewBuffer());
945 return parser.ParseFrom(context.PayloadAsNewBuffer());
1173 return parser.ParseFrom(context.PayloadAsNewBuffer());
1330 return parser.ParseFrom(context.PayloadAsNewBuffer());
DMetricsGrpc.cs63 return parser.ParseFrom(context.PayloadAsNewBuffer());
DBenchmarkServiceGrpc.cs59 return parser.ParseFrom(context.PayloadAsNewBuffer());
DWorkerServiceGrpc.cs59 return parser.ParseFrom(context.PayloadAsNewBuffer());
/third_party/grpc/src/csharp/Grpc.HealthCheck/
DHealthGrpc.cs60 return parser.ParseFrom(context.PayloadAsNewBuffer());
/third_party/grpc/src/csharp/Grpc.Examples/
DMathGrpc.cs57 return parser.ParseFrom(context.PayloadAsNewBuffer());