Method Gz.check_header()
- Method
check_header
string(8bit)|zerocheck_header(Stdio.Stream|voidf,Stdio.Buffer|string(8bit)|voidbuf)- 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
fafter the gzip header if a header was found. Returns0(zero) if there was no header.