zlib.mli 1.4 KB

1234567891011121314151617181920212223242526272829
  1. (***********************************************************************)
  2. (* *)
  3. (* The CamlZip library *)
  4. (* *)
  5. (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
  6. (* adapted to Extc lib by Caue Waneck *)
  7. (* *)
  8. (* Copyright 2001 Institut National de Recherche en Informatique et *)
  9. (* en Automatique. All rights reserved. This file is distributed *)
  10. (* under the terms of the GNU Lesser General Public License, with *)
  11. (* the special exception on linking described in file LICENSE. *)
  12. (* *)
  13. (***********************************************************************)
  14. (* $Id: zlib.mli,v 1.2 2008/12/07 09:23:08 xleroy Exp $ *)
  15. val compress:
  16. ?level: int -> ?header: bool ->
  17. (bytes -> int) -> (bytes -> int -> unit) -> unit
  18. val compress_direct:
  19. ?level: int -> ?header: bool -> (bytes -> int -> unit) ->
  20. (bytes -> int -> int -> unit) * (unit -> unit)
  21. val uncompress:
  22. ?header: bool -> (bytes -> int) -> (bytes -> int -> unit) -> unit
  23. val update_crc:
  24. int32 -> bytes -> int -> int -> int32