6 references to EncodeValueString
Microsoft.AspNetCore.Shared.Tests (6)
src\Shared\runtime\Http3\QPack\QPackEncoder.cs (6)
76if (EncodeValueString(value, valueEncoding, destination, out int valueBytesWritten))
89/// Encodes just the name part of a Literal Header Field With Static Name Reference. Must call <see cref="EncodeValueString(string, Encoding?, Span{byte}, out int)"/> after to encode the header's value.
132if (EncodeNameString(name, destination, out int nameLength) && EncodeValueString(value, valueEncoding, destination.Slice(nameLength), out int valueLength))
160/// Encodes just the value part of a Literawl Header Field Without Static Name Reference. Must call <see cref="EncodeValueString(string, Encoding?, Span{byte}, out int)"/> after to encode the header's value.
224return EncodeValueString(values[0], valueEncoding, buffer, out length);
230return EncodeValueString(string.Empty, valueEncoding: null, buffer, out length);