2 references to GetByteCount
System.Net.Http (2)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\Frames\Http3Frame.cs (1)
43
Debug.Assert(VariableLengthIntegerHelper.
GetByteCount
((long)frameType) == 1, $"{nameof(TryWriteFrameEnvelope)} assumes {nameof(frameType)} will fit within a single byte varint.");
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
659
int headersLengthEncodedSize = VariableLengthIntegerHelper.
GetByteCount
(headersLength);