PHP 忒聊
綴豖
ヶ輛
bzread
(PHP 4 = 4.0.4)
Description
bzread() reads up to length bytes from the bzip2 file pointer referenced by bz. Reading stops when length (uncompressed) bytes have been read or EOF is reached, whichever comes first. If the optional parameter length is not specified, bzread() will read 1024 (uncompressed) bytes at a time.
瞰赽 1. bzread() Example
?php $bz = bzopen("/tmp/foo.bz2", "r"); $str = bzread($bz, 2048); print( $str);?
See also bzwrite() and bzopen().
綴豖
れ萸
ヶ輛
bzopen
奻珨撰
bzwrite