28 references to Size
System.Net.Http (28)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (28)
86private const int InitialConnectionBufferSize = FrameHeader.Size; 197FrameHeader.Size + FrameHeader.SettingLength + 198FrameHeader.Size + FrameHeader.WindowUpdateLength); 206_outgoingBuffer.Commit(FrameHeader.Size); 222_outgoingBuffer.Commit(FrameHeader.Size); 395if (_incomingBuffer.ActiveLength < FrameHeader.Size) 402_incomingBuffer.EnsureAvailableSpace(FrameHeader.Size); 418ThrowPrematureEOF(FrameHeader.Size); 422while (_incomingBuffer.ActiveLength < FrameHeader.Size); 435_incomingBuffer.Discard(FrameHeader.Size); 438_incomingBuffer.Discard(FrameHeader.Size); 516if (_incomingBuffer.ActiveLength < FrameHeader.Size) 542while (_incomingBuffer.ActiveLength < FrameHeader.Size); 1275PerformWriteAsync(FrameHeader.Size, this, static (thisRef, writeBuffer) => 1287PerformWriteAsync(FrameHeader.Size + FrameHeader.PingLength, (thisRef: this, pingContent, isAck), static (state, writeBuffer) => 1295BinaryPrimitives.WriteInt64BigEndian(span.Slice(FrameHeader.Size), state.pingContent); 1301PerformWriteAsync(FrameHeader.Size + FrameHeader.RstStreamLength, (thisRef: this, streamId, errorCode), static (s, writeBuffer) => 1307BinaryPrimitives.WriteInt32BigEndian(span.Slice(FrameHeader.Size), (int)s.errorCode); 1636int totalSize = headerBytes.Length + (frameCount * FrameHeader.Size); 1660span = span.Slice(FrameHeader.Size); 1672span = span.Slice(FrameHeader.Size); 1725await PerformWriteAsync(FrameHeader.Size + current.Length, (thisRef: this, streamId, current, flush), static (s, writeBuffer) => 1731s.current.CopyTo(writeBuffer.Slice(FrameHeader.Size)); 1746PerformWriteAsync(FrameHeader.Size, (thisRef: this, streamId), static (s, writeBuffer) => 1759return PerformWriteAsync(FrameHeader.Size + FrameHeader.WindowUpdateLength, (thisRef: this, streamId, amount), static (s, writeBuffer) => 1765BinaryPrimitives.WriteInt32BigEndian(span.Slice(FrameHeader.Size), s.amount); 1918Debug.Assert(buffer.Length >= Size); 1930Debug.Assert(destination.Length >= Size);