Iostream_camlzipval decompress_in : Iostream.In_buf.t -> Iostream.In.tdecompress_in ic returns a new input stream that is the decompressed version of ic
val decompress_in_buf :
?buf_size:int ->
?buf:bytes ->
Iostream.In_buf.t ->
Iostream.In_buf.tLike decompress_in but the output is buffered as well.
val compress_in : ?level:int -> Iostream.In_buf.t -> Iostream.In.tcompress_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.tSame as compress_in but returning a buffered input.
val compressed_out :
?buf_size:int ->
?buf:bytes ->
?level:int ->
Iostream.Out.t ->
Iostream.Out_buf.tcompressed_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).
val compressed_out_buf :
?buf_size:int ->
?buf:bytes ->
?level:int ->
Iostream.Out_buf.t ->
Iostream.Out_buf.tval decompressed_out :
?buf_size:int ->
?buf:bytes ->
Iostream.Out.t ->
Iostream.Out_buf.tdecompressed_out oc is a new output stream oc2. Writing (compressed) bytes to oc2 will write their decompressed version into oc (possibly after a flush)
val decompressed_out_buf :
?buf_size:int ->
?buf:bytes ->
Iostream.Out_buf.t ->
Iostream.Out_buf.t