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

◆ IsFinished()

static unsafe bool System.Net.WebSockets.Compression.WebSocketInflater.IsFinished ( ZLibNative::ZLibStreamHandle stream,
out byte? remainingByte )
inlinestaticprivate

Definition at line 166 of file WebSocketInflater.cs.

167 {
168 Unsafe.SkipInit(out byte value);
169 if (Inflate(stream, new Span<byte>(&value, 1), ZLibNative.FlushCode.SyncFlush) == 0)
170 {
171 remainingByte = null;
172 return true;
173 }
174 remainingByte = value;
175 return false;
176 }
unsafe bool Inflate(Span< byte > output, out int written)

References System.Net.WebSockets.Compression.WebSocketInflater.Inflate(), System.stream, and System.value.

Referenced by System.Net.WebSockets.Compression.WebSocketInflater.Finish().