2 references to GetByteCount
Microsoft.AspNetCore.Shared.Tests (2)
runtime\Http3\VariableLengthIntegerHelperTests.cs (1)
367int result = VariableLengthIntegerHelper.GetByteCount(longToEncode);
src\Shared\runtime\Http3\Frames\Http3Frame.cs (1)
43Debug.Assert(VariableLengthIntegerHelper.GetByteCount((long)frameType) == 1, $"{nameof(TryWriteFrameEnvelope)} assumes {nameof(frameType)} will fit within a single byte varint.");