Skip to content

zlib.ZStream.Lookahead

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

zlib.ZStream.Lookahead

Method Signature

 Function Lookahead(encoding As TextEncoding = Nil) As String

Parameters

Name Type Comment
encoding TextEncoding Optional. The encoding of the decompressed data

Return value

The decompressed data that is still in the read buffer.

Remarks

This method returns the contents of the read buffer if BufferedReading is True (the default). If the read buffer has fewer than two bytes remaining in it then a new chunk of data is read into the buffer.

See also

Entry-level points of interest denoted by "☜"



Clone this wiki locally