Class CompressionFilter.GZipInputStream
Provides a wrapper around GZipStream that supports getting a current position within the stream.
Inherited Members
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public class CompressionFilter.GZipInputStream : GZipStream, IAsyncDisposable, IDisposable
Constructors
GZipInputStream(Stream)
Constructs new GZipInputStream with decompress option set.
Declaration
public GZipInputStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The input stream. |
Properties
Position
Gets or sets the current position within the stream.
Declaration
public override long Position { get; set; }
Property Value
Type | Description |
---|---|
long |
Overrides
Methods
Read(byte[], int, int)
Reads a number of decompressed bytes into the specified byte array.
Declaration
public override int Read(byte[] array, int offset, int count)
Parameters
Type | Name | Description |
---|---|---|
byte[] | array | The array used to store decompressed bytes. |
int | offset | The location in the array to begin reading. |
int | count | The number of bytes decompressed. |
Returns
Type | Description |
---|---|
int | The number of bytes that were decompressed into the byte array. If the end of the stream has been reached, zero or the number of bytes read is returned. |