Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Http.QPack.QPackDecoder Class Referencesealed

Public Member Functions

 QPackDecoder (int maxHeadersLength)
 
void Dispose ()
 
void Reset ()
 
void Decode (ReadOnlySpan< byte > headerBlock, IHttpHeadersHandler handler)
 

Properties

static ArrayPool< byte > Pool [get]
 

Private Types

enum  State {
  RequiredInsertCount , RequiredInsertCountContinue , Base , BaseContinue ,
  CompressedHeaders , HeaderFieldIndex , HeaderNameIndex , HeaderNameLength ,
  HeaderNameLengthContinue , HeaderName , HeaderValueLength , HeaderValueLengthContinue ,
  HeaderValue , DynamicTableSizeUpdate , PostBaseIndex , LiteralHeaderFieldWithNameReference ,
  HeaderNameIndexPostBase
}
 

Private Member Functions

void OnByte (byte b, IHttpHeadersHandler handler)
 
void OnStringLength (int length, State nextState)
 
void ProcessHeaderValue (IHttpHeadersHandler handler)
 
void OnString (State nextState)
 
void OnIndexedHeaderName (int index)
 
void OnIndexedHeaderNamePostBase (int index)
 
void OnPostBaseIndex (int intResult, IHttpHeadersHandler handler)
 
void OnBase (int deltaBase)
 
void OnRequiredInsertCount (int requiredInsertCount)
 
void OnIndexedHeaderField (int index, IHttpHeadersHandler handler)
 

Static Private Member Functions

static void ReturnAndGetNewPooledArray (ref byte[] buffer, int newSize)
 
static void ThrowDynamicTableNotSupported ()
 

Private Attributes

readonly int _maxHeadersLength
 
State _state
 
byte[] _stringOctets
 
byte[] _headerNameOctets
 
byte[] _headerValueOctets
 
bool _huffman
 
int? _index
 
byte[] _headerName
 
int _headerNameLength
 
int _headerValueLength
 
int _stringLength
 
int _stringIndex
 
IntegerDecoder _integerDecoder
 

Detailed Description

Definition at line 7 of file QPackDecoder.cs.


The documentation for this class was generated from the following file: