ZInflaterInputStream

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

NameTypeAccessDescription
CanReadboolReadGets the can read.
CanSeekboolReadGets the can seek.
CanWriteboolReadGets the can write.
LengthlongReadGets the length.
PositionlongRead/WriteGets or sets the position.

Methods

SignatureDescription
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.

See Also