Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.WebSockets.Compression.WebSocketDeflater Class Referencesealed

Public Member Functions

void Dispose ()
 
void ReleaseBuffer ()
 
ReadOnlySpan< byte > Deflate (ReadOnlySpan< byte > payload, bool endOfMessage)
 

Package Functions

 WebSocketDeflater (int windowBits, bool persisted)
 

Private Member Functions

void DeflatePrivate (ReadOnlySpan< byte > payload, Span< byte > output, bool endOfMessage, out int consumed, out int written, out bool needsMoreOutput)
 
unsafe void UnsafeDeflate (ReadOnlySpan< byte > input, Span< byte > output, out int consumed, out int written, out bool needsMoreBuffer)
 
unsafe int UnsafeFlush (Span< byte > output, out bool needsMoreBuffer)
 
ZLibNative.ZLibStreamHandle CreateDeflater ()
 

Static Private Member Functions

static ZLibNative.ErrorCode Deflate (ZLibNative.ZLibStreamHandle stream, ZLibNative.FlushCode flushCode)
 

Private Attributes

readonly int _windowBits
 
ZLibNative.ZLibStreamHandle _stream
 
readonly bool _persisted
 
byte[] _buffer
 

Detailed Description

Definition at line 6 of file WebSocketDeflater.cs.


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