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

◆ ReadOutput()

unsafe void System.IO.Compression.Inflater.ReadOutput ( byte * bufPtr,
int length,
out int bytesRead )
inlineprivate

Definition at line 105 of file Inflater.cs.

106 {
107 if (ReadInflateOutput(bufPtr, length, ZLibNative.FlushCode.NoFlush, out bytesRead) == ZLibNative.ErrorCode.StreamEnd)
108 {
110 {
112 }
113 else
114 {
115 _finished = true;
116 }
117 }
118 }
unsafe ZLibNative.ErrorCode ReadInflateOutput(byte *bufPtr, int length, ZLibNative.FlushCode flushCode, out int bytesRead)
Definition Inflater.cs:228
unsafe bool ResetStreamForLeftoverInput()
Definition Inflater.cs:120
unsafe bool IsInputBufferHandleAllocated
Definition Inflater.cs:25

References System.IO.Compression.Inflater._finished, System.IO.Compression.Inflater.IsGzipStream(), System.IO.Compression.Inflater.IsInputBufferHandleAllocated, System.length, System.IO.Compression.Inflater.NeedsInput(), System.IO.Compression.Inflater.ReadInflateOutput(), and System.IO.Compression.Inflater.ResetStreamForLeftoverInput().

Referenced by System.IO.Compression.Inflater.InflateVerified().