Method Gz.File()->open()
- Method
open
intopen(string|int|Stdio.Streamfile,void|stringmode)- Parameter
file Filename or filedescriptor of the gzip file to open, or an already open Stream.
- Parameter
mode mode for the file. Defaults to "rb". May be one of the following:
- rb
read mode
- wb
write mode
- ab
append mode
For the wb and ab mode, additional parameters may be specified. Please se zlib manual for more info.
- Returns
non-zero if successful.