module Safe = Decompress_safe
module Seq = Decompress_seq
module Hunk = Decompress_hunk
module Buffer = Decompress_buffer
val pf : Stdlib.Format.formatter -> ('a, Stdlib.Format.formatter, unit) Stdlib.format -> 'a
val pp_error : Stdlib.Format.formatter -> error -> unit
type 'i t = {
i_off : int; |
i_pos : int; |
i_len : int; |
level : int; |
on : Hunk.t -> unit; |
state : 'i state; |
witness : 'i Buffer.t; |
}
val pp_state : Stdlib.Format.formatter -> 'a state -> unit
val pp : Stdlib.Format.formatter -> 'a t -> unit
val key : 'a Safe.Buffer.t -> ([< `Rd | `Wr Rd ], 'a) Safe.t -> int -> int -> key
module T : sig ... end
val longuest_substring : 'a Safe.Buffer.t -> ([< `Rd | `Wr Rd ], 'a) Safe.t -> int -> int -> int -> int option
val deffast : a. ?accel:int -> ?max_fardistance:int -> (Safe.ro, 'a) Safe.t -> 'a t -> Hunk.t Seq.t
val eval : (Safe.ro, 'a) Safe.t -> 'a t -> [> `Await of 'a t * Hunk.t Seq.t | `Error of 'a t * error ]
val used_in : 'a t -> int