bzflush

(4.0.4 - 4.3.2 only)

bzflush -- Force a write of all buffered data

Description

int bzflush ( resource bz)

Forces a write of all buffered bzip2 data for the file pointer bz.

Returns TRUE on success or FALSE on failure.

See also bzread() and bzwrite().