Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
void | Dispose () |
void | Prepare (long payloadLength, int userBufferLength) |
void | AddBytes (int totalBytesReceived, bool endOfMessage) |
unsafe bool | Inflate (Span< byte > output, out int written) |
Package Functions | |
WebSocketInflater (int windowBits, bool persisted) | |
Properties | |
static ReadOnlySpan< byte > | FlushMarker [get] |
Memory< byte > | Memory [get] |
Span< byte > | Span [get] |
Private Member Functions | |
bool | Finish (Span< byte > output, ref int written) |
void | ReleaseBuffer () |
ZLibNative.ZLibStreamHandle | CreateInflater () |
Static Private Member Functions | |
static unsafe bool | IsFinished (ZLibNative.ZLibStreamHandle stream, out byte? remainingByte) |
static unsafe int | Inflate (ZLibNative.ZLibStreamHandle stream, Span< byte > destination, ZLibNative.FlushCode flushCode) |
Private Attributes | |
readonly int | _windowBits |
ZLibNative.ZLibStreamHandle | _stream |
readonly bool | _persisted |
byte? | _remainingByte |
bool | _endOfMessage |
byte[] | _buffer |
int | _position |
int | _available |
Definition at line 7 of file WebSocketInflater.cs.