src\Shared\runtime\Http2\Hpack\HPackEncoder.cs (7)
96if (EncodeStringLiteral(value, valueEncoding, destination.Slice(indexLength), out int nameLength))
128if (EncodeStringLiteral(value, valueEncoding, destination.Slice(indexLength), out int nameLength))
160if (EncodeStringLiteral(value, valueEncoding, destination.Slice(indexLength), out int nameLength))
276EncodeStringLiteral(value, valueEncoding, destination.Slice(1 + nameLength), out int valueLength))
446return EncodeStringLiteral(value, valueEncoding: null, destination, out bytesWritten);
519return EncodeStringLiteral("", valueEncoding: null, destination, out bytesWritten);
523return EncodeStringLiteral(values[0], valueEncoding, destination, out bytesWritten);