8 references to MaxInt32EncodedLength
Microsoft.AspNetCore.Shared.Tests (8)
src\Shared\runtime\Http3\QPack\QPackEncoder.cs (8)
39Span<byte> buffer = stackalloc byte[IntegerEncoder.MaxInt32EncodedLength]; 93Span<byte> temp = stackalloc byte[IntegerEncoder.MaxInt32EncodedLength]; 104Span<byte> temp = value.Length < 256 ? stackalloc byte[256 + IntegerEncoder.MaxInt32EncodedLength * 2] : new byte[value.Length + IntegerEncoder.MaxInt32EncodedLength * 2]; 164Span<byte> temp = name.Length < 256 ? stackalloc byte[256 + IntegerEncoder.MaxInt32EncodedLength] : new byte[name.Length + IntegerEncoder.MaxInt32EncodedLength]; 174Span<byte> temp = (name.Length + value.Length) < 256 ? stackalloc byte[256 + IntegerEncoder.MaxInt32EncodedLength * 2] : new byte[name.Length + value.Length + IntegerEncoder.MaxInt32EncodedLength * 2];