/usr/lib/ocaml/camlpdf/pdfflate.mli is in libcamlpdf-ocaml-dev 2.1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | (** Interface to miniz.c via Zlib-like functions. This is very slightly modified
from Leroy's CamlZip. *)
(** Raised on an error in either compression or decompression. *)
exception Error of string * string
(** Compress data. The [string -> int] function is an input: given a buffer, it
writes some data to it, returning the number of bytes written. The [string ->
int -> unit] function is an output: giving a buffer and a number of compressed
bytes written. The optional argument [level] gives the zlib compression level
(the default is 6). The optional argument [header] will, if [true], output a
zlib header (the default is [true]). *)
val compress:
?level: int -> ?header: bool ->
(string -> int) -> (string -> int -> unit) -> unit
(** Uncompress data. The input and output functions are as described for
[compress]. If [header] is [true], a zlib header is expected (the default is
[true]). *)
val uncompress:
?header: bool -> (string -> int) -> (string -> int -> unit) -> unit
|