Search Results for

    Show / Hide Table of Contents

    Class DeflateStream

    Inheritance
    Object
    DeflateStream
    Namespace: Unity.IO.Compression
    Assembly: cs.temp.dll.dll
    Syntax
    public class DeflateStream : Stream

    Constructors

    DeflateStream(Stream, CompressionMode)

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

    DeflateStream(Stream, CompressionMode, Boolean)

    Declaration
    public DeflateStream(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

    CanSeek

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

    CanWrite

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

    Length

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

    Position

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

    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

    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

    Dispose(Boolean)

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

    EndRead(IAsyncResult)

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

    EndWrite(IAsyncResult)

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

    Flush()

    Declaration
    public override void 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

    Seek(Int64, SeekOrigin)

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

    SetLength(Int64)

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

    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
    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors