package rfc1951

  1. Overview
  2. Docs

Module Rfc1951.TSource

Sourcemodule Heap : sig ... end
Sourceval reverse_code : int -> int -> int
Sourceval generate_codes : tree_lengths:int array -> max_code:int -> bl_count:int array -> int array
Sourceval generate_lengths : tree_dads:int array -> tree_lengths:int array -> max_code:int -> max_length:int -> Heap.t -> bl_count:int array -> unit
Sourcetype tree = {
  1. lengths : int array;
  2. max_code : int;
  3. tree : Lookup.t;
}
Sourceval make : length:int -> ?max_length:int -> int array -> bl_count:int array -> tree
Sourceval scan : int array -> int -> bl_freqs:int array -> unit
Sourceval code : int -> Lookup.t -> int
Sourceval bits : int -> int -> int
Sourceval symbols : int -> int array -> int -> bl_symbols:int array -> bltree:tree -> int
OCaml

Innovation. Community. Security.