Skip to content

zlib.ZStream.BufferedReading

Andrew Lambert edited this page Nov 26, 2022 · 8 revisions

zlib.ZStream.BufferedReading

Property declaration

 Dim BufferedReading As Boolean

Remarks

When False, ZStream.Read(Count) will read Count compressed bytes and return zero or more (possibly a lot more) decompressed bytes. The decompressor will emit zero bytes if no output can be generated without further input; users should continue reading until EOF=True even if zero bytes are returned.

When True (default), ZStream.Read(Count) will return either exactly Count decompressed bytes, buffering any leftovers in memory until the next call to ZStream.Read(Count); or, fewer than Count bytes if there is not enough bytes left to read from the stream.

See also

Entry-level points of interest denoted by "☜"



Clone this wiki locally