bzread
Binary safe bzip2 file read
&reftitle.description;
stringfalsebzread
resourcebz
intlength1024
bzread reads from the given bzip2 file pointer.
Reading stops when length (uncompressed) bytes have
been read or EOF is reached, whichever comes first.
&reftitle.parameters;
bz
The file pointer. It must be valid and must point to a file
successfully opened by bzopen.
length
If not specified, bzread will read 1024
(uncompressed) bytes at a time. A maximum of 8192
uncompressed bytes will be read at a time.
&reftitle.returnvalues;
Returns the uncompressed data, or &false; on error.
&reftitle.examples;
bzread example
\n";
echo $decompressed_file;
?>
]]>
&reftitle.seealso;
bzwrite
feof
bzopen