ZOutputStream
ZOutputStream
Cocos2D.Compression.ZlibInheritance: System.Object → System.MarshalByRefObject → System.IO.Stream
Implements: System.IDisposable, System.IAsyncDisposable
Constructors
ZOutputStream(Stream)
ZOutputStream(Stream)(System.IO.Stream out_Renamed)Parameters:
out_Renamed (System.IO.Stream)ZOutputStream(Stream, int)
ZOutputStream(Stream, int)(System.IO.Stream out_Renamed, System.Int32 level)Parameters:
out_Renamed (System.IO.Stream)level (System.Int32)Fields
buf(System.Byte[])
buf1(System.Byte[])
bufsize(System.Int32)
compress(System.Boolean)
flush_Renamed_Field(System.Int32)
z(Cocos2D.Compression.Zlib.ZStream)
Properties
CanRead(System.Boolean)
CanSeek(System.Boolean)
CanWrite(System.Boolean)
FlushMode(System.Int32)
Length(System.Int64)
Position(System.Int64)
TotalIn(System.Int64)
TotalOut(System.Int64)
Methods
Close()
Close()()Example
End()
End()()Finish()
Finish()()Flush()
Flush()()Example
Read(byte[], int, int)
System.Int32 Read(byte[], int, int)(System.Byte[] buffer, System.Int32 offset, System.Int32 count)Parameters:
buffer (System.Byte[])offset (System.Int32)count (System.Int32)Returns:
System.Int32Example
Seek(long, SeekOrigin)
System.Int64 Seek(long, SeekOrigin)(System.Int64 offset, System.IO.SeekOrigin origin)Parameters:
offset (System.Int64)origin (System.IO.SeekOrigin)Returns:
System.Int64Example
SetLength(long)
SetLength(long)(System.Int64 value)Parameters:
value (System.Int64)Example
Write(byte[], int, int)
Write(byte[], int, int)(System.Byte[] b1, System.Int32 off, System.Int32 len)Parameters:
b1 (System.Byte[])off (System.Int32)len (System.Int32)Example
WriteByte(byte)
WriteByte(byte)(System.Byte b)Parameters:
b (System.Byte)Example
WriteByte(int)
WriteByte(int)(System.Int32 b)Parameters:
b (System.Int32)