ZInflaterInputStream
Overview
ZInflaterInputStream is a class in Aspose.PDF FOSS for .NET.
Inherits from: Stream.
zlib (RFC 1950) inflating input stream — a public helper matching the Aspose.PDF for .NET surface.
This class provides 6 methods for working with ZInflaterInputStream objects in .NET programs.
Available methods include: Flush, Read, Seek, SetLength, Write, ZInflaterInputStream.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: CanRead, CanSeek, CanWrite, Length, Position.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
CanRead | bool | Read | Gets the can read. |
CanSeek | bool | Read | Gets the can seek. |
CanWrite | bool | Read | Gets the can write. |
Length | long | Read | Gets the length. |
Position | long | Read/Write | Gets or sets the position. |
Methods
| Signature | Description |
|---|---|
ZInflaterInputStream(source: Stream) | Wrap source for zlib decompression. |
Read(buffer: byte[], offset: int, count: int) | Calls Read(buffer, offset, count) on this ZInflaterInputStream instance. |
Flush() | Calls Flush on this ZInflaterInputStream instance. |
Write(buffer: byte[], offset: int, count: int) | Calls Write(buffer, offset, count) on this ZInflaterInputStream instance. |
Seek(offset: long, origin: SeekOrigin) | Calls Seek(offset, origin) on this ZInflaterInputStream instance. |
SetLength(value: long) | Sets the length value. |