Table of Contents

Class ZInflaterInputStream

Namespace
Enterprises.Org.BouncyCastle.Utilities.Zlib
Assembly
Enterprises.BouncyCastle.Crypto.dll
[Obsolete("Use 'ZInputStream' instead")]
public class ZInflaterInputStream : Stream, IDisposable, IAsyncDisposable
Inheritance
ZInflaterInputStream
Implements
Inherited Members

Constructors

ZInflaterInputStream(Stream)

public ZInflaterInputStream(Stream inp)

Parameters

inp Stream

ZInflaterInputStream(Stream, bool)

public ZInflaterInputStream(Stream inp, bool nowrap)

Parameters

inp Stream
nowrap bool

Fields

buf

protected byte[] buf

Field Value

byte[]

flushLevel

protected int flushLevel

Field Value

int

inp

protected Stream inp

Field Value

Stream

z

protected ZStream z

Field Value

ZStream

Properties

CanRead

public override bool CanRead { get; }

Property Value

bool

CanSeek

public override bool CanSeek { get; }

Property Value

bool

CanWrite

public override bool CanWrite { get; }

Property Value

bool

Length

public override long Length { get; }

Property Value

long

Position

public override long Position { get; set; }

Property Value

long

Methods

Close()

public override void Close()

Flush()

public override void Flush()

Read(byte[], int, int)

public override int Read(byte[] b, int off, int len)

Parameters

b byte[]
off int
len int

Returns

int

ReadByte()

public override int ReadByte()

Returns

int

Seek(long, SeekOrigin)

public override long Seek(long offset, SeekOrigin origin)

Parameters

offset long
origin SeekOrigin

Returns

long

SetLength(long)

public override void SetLength(long value)

Parameters

value long

Write(byte[], int, int)

public override void Write(byte[] b, int off, int len)

Parameters

b byte[]
off int
len int

WriteByte(byte)

public override void WriteByte(byte b)

Parameters

b byte