Search Results for

    Show / Hide Table of Contents

    Class GZipStream

    Inheritance
    Object
    MarshalByRefObject
    Stream
    GZipStream
    Implements
    IDisposable
    Inherited Members
    Stream.Null
    Stream.CopyToAsync(Stream)
    Stream.CopyToAsync(Stream, Int32)
    Stream.CopyToAsync(Stream, Int32, CancellationToken)
    Stream.CopyTo(Stream)
    Stream.CopyTo(Stream, Int32)
    Stream.Close()
    Stream.Dispose()
    Stream.FlushAsync()
    Stream.FlushAsync(CancellationToken)
    Stream.CreateWaitHandle()
    Stream.ReadAsync(Byte[], Int32, Int32)
    Stream.ReadAsync(Byte[], Int32, Int32, CancellationToken)
    Stream.WriteAsync(Byte[], Int32, Int32)
    Stream.WriteAsync(Byte[], Int32, Int32, CancellationToken)
    Stream.ReadByte()
    Stream.WriteByte(Byte)
    Stream.Synchronized(Stream)
    Stream.ObjectInvariant()
    Stream.CanTimeout
    Stream.ReadTimeout
    Stream.WriteTimeout
    MarshalByRefObject.MemberwiseClone(Boolean)
    MarshalByRefObject.GetLifetimeService()
    MarshalByRefObject.InitializeLifetimeService()
    MarshalByRefObject.CreateObjRef(Type)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.IO.Compression
    Assembly: cs.temp.dll.dll
    Syntax
    public class GZipStream : Stream, IDisposable

    Constructors

    GZipStream(Stream, CompressionMode)

    Declaration
    public GZipStream(Stream stream, CompressionMode mode)
    Parameters
    Type Name Description
    Stream stream
    CompressionMode mode

    GZipStream(Stream, CompressionMode, Boolean)

    Declaration
    public GZipStream(Stream stream, CompressionMode mode, bool leaveOpen)
    Parameters
    Type Name Description
    Stream stream
    CompressionMode mode
    Boolean leaveOpen

    Properties

    BaseStream

    Declaration
    public Stream BaseStream { get; }
    Property Value
    Type Description
    Stream

    CanRead

    Declaration
    public override bool CanRead { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    Stream.CanRead

    CanSeek

    Declaration
    public override bool CanSeek { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    Stream.CanSeek

    CanWrite

    Declaration
    public override bool CanWrite { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    Stream.CanWrite

    Length

    Declaration
    public override long Length { get; }
    Property Value
    Type Description
    Int64
    Overrides
    Stream.Length

    Position

    Declaration
    public override long Position { get; set; }
    Property Value
    Type Description
    Int64
    Overrides
    Stream.Position

    Methods

    BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)

    Declaration
    public override IAsyncResult BeginRead(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState)
    Parameters
    Type Name Description
    Byte[] array
    Int32 offset
    Int32 count
    AsyncCallback asyncCallback
    Object asyncState
    Returns
    Type Description
    IAsyncResult
    Overrides
    Stream.BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)

    BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)

    Declaration
    public override IAsyncResult BeginWrite(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState)
    Parameters
    Type Name Description
    Byte[] array
    Int32 offset
    Int32 count
    AsyncCallback asyncCallback
    Object asyncState
    Returns
    Type Description
    IAsyncResult
    Overrides
    Stream.BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing
    Overrides
    Stream.Dispose(Boolean)

    EndRead(IAsyncResult)

    Declaration
    public override int EndRead(IAsyncResult asyncResult)
    Parameters
    Type Name Description
    IAsyncResult asyncResult
    Returns
    Type Description
    Int32
    Overrides
    Stream.EndRead(IAsyncResult)

    EndWrite(IAsyncResult)

    Declaration
    public override void EndWrite(IAsyncResult asyncResult)
    Parameters
    Type Name Description
    IAsyncResult asyncResult
    Overrides
    Stream.EndWrite(IAsyncResult)

    Flush()

    Declaration
    public override void Flush()
    Overrides
    Stream.Flush()

    Read(Byte[], Int32, Int32)

    Declaration
    public override int Read(byte[] array, int offset, int count)
    Parameters
    Type Name Description
    Byte[] array
    Int32 offset
    Int32 count
    Returns
    Type Description
    Int32
    Overrides
    Stream.Read(Byte[], Int32, Int32)

    Seek(Int64, SeekOrigin)

    Declaration
    public override long Seek(long offset, SeekOrigin origin)
    Parameters
    Type Name Description
    Int64 offset
    SeekOrigin origin
    Returns
    Type Description
    Int64
    Overrides
    Stream.Seek(Int64, SeekOrigin)

    SetLength(Int64)

    Declaration
    public override void SetLength(long value)
    Parameters
    Type Name Description
    Int64 value
    Overrides
    Stream.SetLength(Int64)

    Write(Byte[], Int32, Int32)

    Declaration
    public override void Write(byte[] array, int offset, int count)
    Parameters
    Type Name Description
    Byte[] array
    Int32 offset
    Int32 count
    Overrides
    Stream.Write(Byte[], Int32, Int32)

    Implements

    System.IDisposable
    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors