-
-
Notifications
You must be signed in to change notification settings - Fork 1
BZip2.BZ2Stream.BufferedReading
Andrew Lambert edited this page Nov 27, 2022
·
2 revisions
Dim BufferedReading As Boolean
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.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2018-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.