package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Value.t
val t : t Repr__Type.t
type hash = H.t
type key = XKey.t
val hash : t -> hash
val kind : t -> Irmin_pack__Pack_value.Kind.t
val length_header : Irmin_pack__Pack_value.Kind.t -> [ `Varint ] option
val encode_bin : dict:(string -> int option) -> offset_of_key:(key -> Optint.Int63.t option) -> hash -> t Irmin.Type.encode_bin
val decode_bin : dict:(int -> string option) -> key_of_offset:(Optint.Int63.t -> key) -> key_of_hash:(hash -> key) -> t Irmin.Type.decode_bin
val decode_bin_length : string -> int -> int