Méthode | Description | |
---|---|---|
Flush ( ) : void |
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
|
|
Lz4CompressionStream ( Stream targetStream, Lz4Mode mode = Lz4Mode.Fast, bool closeStream = false ) : System |
Initializes a new instance of the ZlibCompressionStream class.
|
|
Lz4CompressionStream ( Stream targetStream, byte writeBuffer, byte compressionBuffer, Lz4Mode mode = Lz4Mode.Fast, bool closeStream = false ) : System |
Initializes a new instance of the ZlibCompressionStream class.
|
|
Lz4CompressionStream ( Stream targetStream, int bufferSize, Lz4Mode mode = Lz4Mode.Fast, bool closeStream = false ) : System |
Initializes a new instance of the ZlibCompressionStream class.
|
|
Read ( byte buffer, int offset, int count ) : int |
[NotSupported] Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
|
|
Seek ( long offset, SeekOrigin origin ) : long |
[NotSupported] Sets the position within the current stream.
|
|
SetLength ( long value ) : void |
Sets the length of the current stream.
|
|
Write ( byte buffer, int offset, int count ) : void |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the T:System.IO.Stream and optionally releases the managed resources.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Résultat | void |
public Lz4CompressionStream ( Stream targetStream, Lz4Mode mode = Lz4Mode.Fast, bool closeStream = false ) : System | ||
targetStream | Stream | The target. |
mode | Lz4Mode | |
closeStream | bool | The close stream. |
Résultat | System |
public Lz4CompressionStream ( Stream targetStream, byte writeBuffer, byte compressionBuffer, Lz4Mode mode = Lz4Mode.Fast, bool closeStream = false ) : System | ||
targetStream | Stream | The target stream. |
writeBuffer | byte | The write buffer. |
compressionBuffer | byte | The compression buffer. |
mode | Lz4Mode | |
closeStream | bool | The close stream. |
Résultat | System |
public Lz4CompressionStream ( Stream targetStream, int bufferSize, Lz4Mode mode = Lz4Mode.Fast, bool closeStream = false ) : System | ||
targetStream | Stream | The target. |
bufferSize | int | Size of the buffer. |
mode | Lz4Mode | |
closeStream | bool | The close stream. |
Résultat | System |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | An array of bytes. When this method returns, the buffer contains the specified byte array with the values between |
offset | int | The zero-based byte offset in |
count | int | The maximum number of bytes to be read from the current stream. |
Résultat | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | A byte offset relative to the |
origin | SeekOrigin | A value of type |
Résultat | long |
public SetLength ( long value ) : void | ||
value | long | The desired length of the current stream in bytes. |
Résultat | void |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | An array of bytes. This method copies |
offset | int | The zero-based byte offset in |
count | int | The number of bytes to be written to the current stream. |
Résultat | void |