Searched refs:payloadLength (Results 1 – 4 of 4) sorted by relevance
32 int payloadLength; field in Grpc.Core.Internal.DefaultDeserializationContext40 public override int PayloadLength => payloadLength;44 var buffer = new byte[payloadLength]; in PayloadAsNewBuffer()52 GrpcPreconditions.CheckState(sequence.Length == payloadLength); in PayloadAsReadOnlySequence()59 this.payloadLength = bufferReader.TotalLength.Value; // payload must not be null in Initialize()65 this.payloadLength = 0; in Reset()
59 public override void SetPayloadLength(int payloadLength) in SetPayloadLength() argument
140 let payloadLength = secondByte & kPayloadLengthMask;141 switch (payloadLength) {144 payloadLength = (data[2] << 8) + data[3];149 payloadLength = 0;151 payloadLength <<= 8;152 payloadLength |= data[2 + i];159 if ((dataAvailable - payloadOffset - payloadLength) < 0) return notComplete;161 const payloadEnd = payloadOffset + payloadLength;
57 public virtual void SetPayloadLength(int payloadLength) in SetPayloadLength() argument