Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Decode()

void System.Net.Http.QPack.QPackDecoder.Decode ( ReadOnlySpan< byte > headerBlock,
IHttpHeadersHandler handler )
inline

Definition at line 98 of file QPackDecoder.cs.

99 {
100 ReadOnlySpan<byte> readOnlySpan = headerBlock;
101 for (int i = 0; i < readOnlySpan.Length; i++)
102 {
103 byte b = readOnlySpan[i];
104 OnByte(b, handler);
105 }
106 }
void OnByte(byte b, IHttpHeadersHandler handler)

References System.ReadOnlySpan< T >.Length, and System.Net.Http.QPack.QPackDecoder.OnByte().

Referenced by System.Net.Http.QPack.QPackDecoder.OnString(), and System.Net.Http.Http3RequestStream.ReadHeadersAsync().