Skip to main content

ZInputStream

ZInputStream

Cocos2D.Compression.Zlib

Inheritance: System.Object → System.IO.BinaryReader

Implements: System.IDisposable

Constructors

ZInputStream(Stream)

ZInputStream(Stream)(System.IO.Stream in_Renamed)
Parameters:
in_Renamed (System.IO.Stream)

ZInputStream(Stream, int)

ZInputStream(Stream, int)(System.IO.Stream in_Renamed, System.Int32 level)
Parameters:
in_Renamed (System.IO.Stream)
level (System.Int32)

Fields

buf(System.Byte[])
buf1(System.Byte[])
bufsize(System.Int32)
compress(System.Boolean)
flush(System.Int32)
z(Cocos2D.Compression.Zlib.ZStream)

Properties

FlushMode(System.Int32)
TotalIn(System.Int64)

Returns the total number of bytes input so far.

TotalOut(System.Int64)

Returns the total number of bytes output so far.

Methods

Close()

Close()()
Example

Read()

System.Int32 Read()()
Returns:
System.Int32
Example

Read(byte[], int, int)

System.Int32 Read(byte[], int, int)(System.Byte[] b, System.Int32 off, System.Int32 len)
Parameters:
b (System.Byte[])
off (System.Int32)
len (System.Int32)
Returns:
System.Int32
Example

Skip(long)

System.Int64 Skip(long)(System.Int64 n)
Parameters:
n (System.Int64)
Returns:
System.Int64