18 references to Encode
Microsoft.AspNetCore.Server.Kestrel.Core (18)
src\Shared\runtime\Http2\Hpack\HPackEncoder.cs (10)
37return IntegerEncoder.Encode(index, 7, destination, out bytesWritten); 93if (IntegerEncoder.Encode(index, 4, destination, out int indexLength)) 125if (IntegerEncoder.Encode(index, 4, destination, out int indexLength)) 157if (IntegerEncoder.Encode(index, 6, destination, out int indexLength)) 195if (IntegerEncoder.Encode(index, 4, destination, out int indexLength)) 374if (IntegerEncoder.Encode(value.Length, 7, destination, out int integerLength)) 424if (IntegerEncoder.Encode(value.Length, 7, destination, out int integerLength)) 468if (IntegerEncoder.Encode(encodedStringLength, 7, destination, out int integerLength)) 506return IntegerEncoder.Encode(value, 5, destination, out bytesWritten); 549if (IntegerEncoder.Encode(valueLength, 7, destination, out int integerLength))
src\Shared\runtime\Http3\QPack\QPackEncoder.cs (8)
28return IntegerEncoder.Encode(index, 6, destination, out bytesWritten); 72if (IntegerEncoder.Encode(index, 4, destination, out int headerBytesWritten)) 96bool res = IntegerEncoder.Encode(index, 4, temp, out int headerBytesWritten); 192if (IntegerEncoder.Encode(encodedStringLength, 7, buffer, out int nameLength)) 255if (IntegerEncoder.Encode(valueLength, 7, buffer, out int nameLength)) 324if (IntegerEncoder.Encode(s.Length, 3, buffer, out int nameLength)) 360if (!IntegerEncoder.Encode(0, 8, destination, out length)) 375if (!IntegerEncoder.Encode(0, 7, destination, out length))