Searched refs:PayloadAsNewBuffer (Results 1 – 14 of 14) sorted by relevance
132 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()
66 return System.Text.Encoding.UTF8.GetString(context.PayloadAsNewBuffer()); in SimpleSerializerEmulation()96 public override byte[] PayloadAsNewBuffer() in PayloadAsNewBuffer() method in Grpc.Core.Tests.MarshallerTest.FakeDeserializationContext
64 var buffer = deserializationContext.PayloadAsNewBuffer(); in Init()
46 public virtual byte[] PayloadAsNewBuffer() in PayloadAsNewBuffer() method in Grpc.Core.DeserializationContext
100 return this.deserializer(context.PayloadAsNewBuffer()); in EmulateContextualDeserializer()
42 public override byte[] PayloadAsNewBuffer() in PayloadAsNewBuffer() method in Grpc.Core.Internal.DefaultDeserializationContext
59 return parser.ParseFrom(context.PayloadAsNewBuffer());
64 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());
63 return parser.ParseFrom(context.PayloadAsNewBuffer());
60 return parser.ParseFrom(context.PayloadAsNewBuffer());
57 return parser.ParseFrom(context.PayloadAsNewBuffer());