Rfc1951.Def
val dynamic_of_frequencies :
literals:int array ->
distances:int array ->
dynamic
val exists : [< `Copy of int * int | `End | `Literal of char ] -> block -> bool
type encoder = {
dst : dst; |
mutable blk : block; |
mutable hold : int; |
mutable bits : int; |
mutable bits_rem : [ `Rem of int | `Pending ]; |
mutable flat : int; |
mutable fmax : int; |
mutable o : bigstring; |
mutable o_pos : int; |
mutable o_max : int; |
b : Queue.t; |
mutable k : encoder -> encode -> [ `Ok | `Partial | `Block ]; |
}
val o_rem : encoder -> int
val dst :
encoder ->
( char, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout )
Stdlib.Bigarray.Array1.t ->
int ->
int ->
unit
val write : encoder -> [ `Block | `Ok | `Partial ]
val write_flat : encoder -> [ `Block | `Ok | `Partial ]
val dst_rem : encoder -> int
val bits_rem : encoder -> int
module Ns : sig ... end