Show / Hide Table of Contents

Class CompressionFilter.GZipInputStream

Provides a wrapper around GZipStream that supports getting a current position within the stream.

Inheritance
object
MarshalByRefObject
Stream
GZipStream
CompressionFilter.GZipInputStream
Implements
IAsyncDisposable
IDisposable
Inherited Members
GZipStream.BeginRead(byte[], int, int, AsyncCallback, object)
GZipStream.BeginWrite(byte[], int, int, AsyncCallback, object)
GZipStream.CopyTo(Stream, int)
GZipStream.CopyToAsync(Stream, int, CancellationToken)
GZipStream.Dispose(bool)
GZipStream.DisposeAsync()
GZipStream.EndRead(IAsyncResult)
GZipStream.EndWrite(IAsyncResult)
GZipStream.Flush()
GZipStream.FlushAsync(CancellationToken)
GZipStream.Read(Span<byte>)
GZipStream.ReadAsync(byte[], int, int, CancellationToken)
GZipStream.ReadAsync(Memory<byte>, CancellationToken)
GZipStream.ReadByte()
GZipStream.Seek(long, SeekOrigin)
GZipStream.SetLength(long)
GZipStream.Write(byte[], int, int)
GZipStream.Write(ReadOnlySpan<byte>)
GZipStream.WriteAsync(byte[], int, int, CancellationToken)
GZipStream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)
GZipStream.BaseStream
GZipStream.CanRead
GZipStream.CanSeek
GZipStream.CanWrite
GZipStream.Length
Stream.Null
Stream.Close()
Stream.CopyTo(Stream)
Stream.CopyToAsync(Stream)
Stream.CopyToAsync(Stream, int)
Stream.CopyToAsync(Stream, CancellationToken)
Stream.CreateWaitHandle()
Stream.Dispose()
Stream.FlushAsync()
Stream.ObjectInvariant()
Stream.ReadAsync(byte[], int, int)
Stream.Synchronized(Stream)
Stream.ValidateBufferArguments(byte[], int, int)
Stream.ValidateCopyToArguments(Stream, int)
Stream.WriteAsync(byte[], int, int)
Stream.WriteByte(byte)
Stream.CanTimeout
Stream.ReadTimeout
Stream.WriteTimeout
MarshalByRefObject.GetLifetimeService()
MarshalByRefObject.InitializeLifetimeService()
MarshalByRefObject.MemberwiseClone(bool)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
GZipStream.Position

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.

Overrides
GZipStream.Read(byte[], int, int)

Implements

IAsyncDisposable
IDisposable
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.