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