package decompress

  1. Overview
  2. Docs

Module Decompress_impl.HeapSource

(imperative) Heap implementation

Sourcetype t = {
  1. mutable buffer : int array;
  2. mutable length : int;
}
Sourceval make : int -> t
Sourceval get_parent : int -> int
Sourceval get_child : int -> int
Sourceexception Break
Sourceval push : int -> int -> t -> unit
Sourceval pop : t -> int * int
Sourceval length : t -> int
OCaml

Innovation. Community. Security.