Index of values


C
close_in [Bz2]
close_out [Bz2]
compress [Bz2]
compress buf pos len compress a data chunk coming from buf, len character long, and starting at pos.

O
open_in [Bz2]
open_in ic opens a compressed stream reading from the Pervasives input channel ic.
open_out [Bz2]
open_out oc creates an out_channel writing to the Pervasives output channel oc.

R
read [Bz2]
read buf pos len reads up to len characters and store them in the string buffer buf, starting at position pos.
read_get_unused [Bz2]
If there's some data after the compressed stream that you want to read from the same Pervasives in_channel, use read_get_unused.

U
uncompress [Bz2]
uncompress buf pos len uncompress a data chunk comfing from buf, len character long, and starting at pos.

V
version [Bz2]
Version of the underlying bzip2 library.

W
write [Bz2]
write oc buf pos len writes len characters, coming from buf and starting at position pos, to oc