Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
decompress_in ic
returns a new input stream that is the decompressed version of ic
Like decompress_in
but the output is buffered as well.
compress_in ?level ic
is a new input stream that is the compressed version of ic
.
val compress_in_buf :
?buf_size:int ->
?buf:bytes ->
?level:int ->
Iostream.In_buf.t ->
Iostream.In_buf.t
Same as compress_in
but returning a buffered input.
val compressed_out :
?buf_size:int ->
?buf:bytes ->
?level:int ->
Iostream.Out.t ->
Iostream.Out_buf.t
compressed_out oc
takes a output stream oc
, and returns a new output stream oc2
. Writing some (normal) bytes to oc2
will write a compressed version of these bytes into oc
(possibly after a flush).
decompressed_out oc
is a new output stream oc2
. Writing (compressed) bytes to oc2
will write their decompressed version into oc
(possibly after a flush)