Свойство | Тип | Описание | |
---|---|---|---|
baseOutputStream_ | Stream | ||
deflater_ |
Метод | Описание | |
---|---|---|
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult |
Asynchronous reads are not supported a NotSupportedException is always thrown
|
|
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult |
Asynchronous writes arent supported, a NotSupportedException is always thrown
|
|
Close ( ) : void |
Calls Finish and closes the underlying stream when
|
|
DeflaterOutputStream ( Stream baseOutputStream ) : System |
Creates a new DeflaterOutputStream with a default Deflater and default buffer size.
|
|
DeflaterOutputStream ( Stream baseOutputStream, |
Creates a new DeflaterOutputStream with the given Deflater and default buffer size.
|
|
DeflaterOutputStream ( Stream baseOutputStream, |
Creates a new DeflaterOutputStream with the given Deflater and buffer size.
|
|
Finish ( ) : void |
Finishes the stream by calling finish() on the deflater.
|
|
Flush ( ) : void |
Flushes the stream by calling
|
|
Read ( byte buffer, int offset, int count ) : int |
Read a block of bytes from stream
|
|
ReadByte ( ) : int |
Read a byte from stream advancing position by one
|
|
Seek ( long offset, SeekOrigin origin ) : long |
Sets the current position of this stream to the given value. Not supported by this class!
|
|
SetLength ( long value ) : void |
Sets the length of this stream to the given value. Not supported by this class!
|
|
Write ( byte buffer, int offset, int count ) : void |
Writes bytes from an array to the compressed stream.
|
|
WriteByte ( byte value ) : void |
Writes a single byte to the compressed output stream.
|
Метод | Описание | |
---|---|---|
Deflate ( ) : void |
Deflates everything in the input buffers. This will call
|
|
EncryptBlock ( byte buffer, int offset, int length ) : void |
Encrypt a block of data
|
|
EncryptByte ( ) : byte |
Encrypt a single byte
|
|
UpdateKeys ( byte ch ) : void |
Update encryption keys
|
public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult | ||
buffer | byte | The buffer to read into. |
offset | int | The offset to start storing data at. |
count | int | The number of bytes to read |
callback | AsyncCallback | The async callback to use. |
state | object | The state to use. |
Результат | IAsyncResult |
public BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult | ||
buffer | byte | The buffer to write. |
offset | int | The offset to begin writing at. |
count | int | The number of bytes to write. |
callback | AsyncCallback | The |
state | object | The state object. |
Результат | IAsyncResult |
public DeflaterOutputStream ( Stream baseOutputStream ) : System | ||
baseOutputStream | Stream | /// the output stream where deflated output should be written. /// |
Результат | System |
public DeflaterOutputStream ( Stream baseOutputStream, |
||
baseOutputStream | Stream | /// the output stream where deflated output should be written. /// |
deflater | /// the underlying deflater. /// | |
Результат | System |
public DeflaterOutputStream ( Stream baseOutputStream, |
||
baseOutputStream | Stream | /// The output stream where deflated output is written. /// |
deflater | /// The underlying deflater to use /// | |
bufferSize | int | /// The buffer size to use when deflating /// |
Результат | System |
protected EncryptBlock ( byte buffer, int offset, int length ) : void | ||
buffer | byte | /// Data to encrypt. NOTE the original contents of the buffer are lost /// |
offset | int | /// Offset of first byte in buffer to encrypt /// |
length | int | /// Number of bytes in buffer to encrypt /// |
Результат | void |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | The buffer to store read data in. |
offset | int | The offset to start storing at. |
count | int | The maximum number of bytes to read. |
Результат | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | The offset relative to the |
origin | SeekOrigin | The |
Результат | long |
public SetLength ( long value ) : void | ||
value | long | The new stream length. |
Результат | void |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | /// The byte array /// |
offset | int | /// The offset into the byte array where to start. /// |
count | int | /// The number of bytes to write. /// |
Результат | void |
public WriteByte ( byte value ) : void | ||
value | byte | /// The byte value. /// |
Результат | void |