메소드 | 설명 | |
---|---|---|
CompressedStream ( Stream baseStream ) : System | ||
Flush ( ) : void |
Clears all output buffers for this stream and causes any buffered data to be written to the underlying device.
|
|
Read ( byte buffer, int offset, int count ) : int |
Reads a sequence of bytes from the stream and advances the position within the stream by the number of bytes read.
|
|
Seek ( long offset, SeekOrigin origin ) : long |
Sets the position within the current stream.
|
|
SetLength ( long value ) : void |
Sets the length of the stream.
|
|
Write ( byte buffer, int offset, int count ) : void |
Writes a sequence of bytes to the stream and advances the current position within this stream by the number of bytes written.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the DuplexStream and optionally releases the managed resources.
|
메소드 | 설명 | |
---|---|---|
CheckDisposed ( ) : void | ||
ValidateArguments ( byte buffer, int offset, int count ) : void |
public CompressedStream ( Stream baseStream ) : System | ||
baseStream | Stream | |
리턴 | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | void |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | The buffer. |
offset | int | The buffer offset. |
count | int | The number of bytes to read. |
리턴 | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | The offset into the stream relative to the |
origin | SeekOrigin | The origin to seek from. |
리턴 | long |
public SetLength ( long value ) : void | ||
value | long | The desired length of the stream in bytes. |
리턴 | void |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | The buffer to write. |
offset | int | The offset of the first byte to write. |
count | int | The number of bytes to write. |
리턴 | void |