Skip to content

BZip2.BZ2Stream.BufferedReading

Andrew Lambert edited this page Nov 27, 2022 · 2 revisions

BZip2.BZ2Stream.BufferedReading

Property declaration

 Dim BufferedReading As Boolean

Remarks

When False, BZ2Stream.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), BZ2Stream.Read(Count) will return either exactly Count decompressed bytes, buffering any leftovers in memory until the next call to BZ2Stream.Read(Count); or, fewer than Count bytes if there is not enough bytes left to read from the stream.

Clone this wiki locally