Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Uncompress.Open (gb.compress)

Sub Open ( Path As String )

Allows you to open a file that is stored in compressed format for reading. Prior to using this method you have to select the appropiate compression driver.

The Source file must be a valid file, that is, compressed with the same algorithm you have selected with the Type property.

Examples

Dim Cz As New Uncompress
Dim Buf As String

Cz.Type = "bzlib2"
Cz.Open("/home/foo/compressed.bz2")
LINE INPUT #Cz, Buf
...
CLOSE #Cz