Skip to content

LZMA.LZMAStream.Lookahead

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

LZMA.LZMAStream.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.

Clone this wiki locally