Class ZInputStream
- Namespace
- Enterprises.Org.BouncyCastle.Utilities.Zlib
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class ZInputStream : Stream, IDisposable, IAsyncDisposable
- Inheritance
-
ZInputStream
- Implements
-
- Inherited Members
-
Constructors
public ZInputStream(Stream input)
Parameters
input
Stream
public ZInputStream(Stream input, ZStream z)
Parameters
input
Stream
z
ZStream
public ZInputStream(Stream input, bool nowrap)
Parameters
input
Stream
nowrap
bool
public ZInputStream(Stream input, int level)
Parameters
input
Stream
level
int
public ZInputStream(Stream input, int level, bool nowrap)
Parameters
input
Stream
level
int
nowrap
bool
Fields
Field Value
- byte[]
Field Value
- byte[]
Field Value
- bool
Field Value
- bool
Field Value
- int
Field Value
- Stream
Field Value
- ZStream
Properties
public override sealed bool CanRead { get; }
Property Value
- bool
public override sealed bool CanSeek { get; }
Property Value
- bool
public override sealed bool CanWrite { get; }
Property Value
- bool
public virtual int FlushMode { get; set; }
Property Value
- int
public override sealed long Length { get; }
Property Value
- long
public override sealed long Position { get; set; }
Property Value
- long
public virtual long TotalIn { get; }
Property Value
- long
public virtual long TotalOut { get; }
Property Value
- long
Methods
public override void Close()
public override sealed void Flush()
public override int Read(byte[] b, int off, int len)
Parameters
b
byte[]
off
int
len
int
Returns
- int
public override int ReadByte()
Returns
- int
public override sealed long Seek(long offset, SeekOrigin origin)
Parameters
offset
long
origin
SeekOrigin
Returns
- long
public override sealed void SetLength(long value)
Parameters
value
long
public override sealed void Write(byte[] buffer, int offset, int count)
Parameters
buffer
byte[]
offset
int
count
int