Method Gz.check_header()
- Method
check_header
string(8bit)
|zero
check_header(Stdio.Stream
|void
f
,Stdio.Buffer
|string(8bit)
|void
buf
)- Description
Check whether a file has a valid gzip header.
- Parameter
f
File to check.
- Parameter
buf
Prefix of
f
.- Returns
Returns the content of
f
after the gzip header if a header was found. Returns0
(zero) if there was no header.