BZip2Stream Class

Definition

Line 43 of System.IO.Compression/BZip2Stream.cm

Inheritance

Constructors & Destructor

public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, CompressionMode mode_)
public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, CompressionMode mode_, long bufferSize_)
public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, int compressionLevel_)
public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, int compressionLevel_, int compressionWorkFactor_)
public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, int compressionLevel_, int compressionWorkFactor_, long bufferSize_)
public ~BZip2Stream()

Member Functions

private void Finish()
public inline nothrow CompressionMode Mode() const
public override long Read(byte* buf, long count)
public override int ReadByte()
public override void Write(byte x)
public override void Write(byte* buf, long count)

Member Variables

private long bufferSize
private bool endOfInput
private bool endOfStream
private void* handle
private IOBuffer in
private uint inAvail
private CompressionMode mode
private IOBuffer out
private uint outAvail
private uint outHave
private long outPos
private SharedPtr<ByteStream> underlyingStream

Constructor& Destructor Details

BZip2Stream Constructor

public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, CompressionMode mode_)

Definition
Line 62 of System.IO.Compression/BZip2Stream.cm


BZip2Stream Constructor

public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, CompressionMode mode_, long bufferSize_)

Definition
Line 65 of System.IO.Compression/BZip2Stream.cm


BZip2Stream Constructor

public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, int compressionLevel_)

Definition
Line 45 of System.IO.Compression/BZip2Stream.cm


BZip2Stream Constructor

public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, int compressionLevel_, int compressionWorkFactor_)

Definition
Line 48 of System.IO.Compression/BZip2Stream.cm


BZip2Stream Constructor

public BZip2Stream(const SharedPtr<ByteStream>& underlyingStream_, int compressionLevel_, int compressionWorkFactor_, long bufferSize_)

Definition
Line 52 of System.IO.Compression/BZip2Stream.cm


~BZip2Stream Destructor

public ~BZip2Stream()

Definition
Line 79 of System.IO.Compression/BZip2Stream.cm


Member Function Details

Finish Member Function

private void Finish()

Definition
Line 191 of System.IO.Compression/BZip2Stream.cm


Mode Member Function

public inline nothrow CompressionMode Mode()

Definition
Line 75 of System.IO.Compression/BZip2Stream.cm


Read Member Function

public override long Read(byte* buf, long count)

Definition
Line 107 of System.IO.Compression/BZip2Stream.cm


ReadByte Member Function

public override int ReadByte()

Definition
Line 97 of System.IO.Compression/BZip2Stream.cm


Write Member Function

public override void Write(byte x)

Definition
Line 157 of System.IO.Compression/BZip2Stream.cm


Write Member Function

public override void Write(byte* buf, long count)

Definition
Line 161 of System.IO.Compression/BZip2Stream.cm