package chamelon

  1. Overview
  2. Docs
val sizeof_pointer : int
val inline_struct_chunk : int
val file_chunk : int
val ctz_chunk : int
val name : string -> int -> Tag.t * Cstruct.t
val create_inline : int -> Cstruct.t -> Tag.t
val create_ctz : int -> pointer:Cstruct.uint32 -> file_size:Cstruct.uint32 -> Tag.t * Cstruct.t
val ctz_of_cstruct : Cstruct.t -> (Cstruct.uint32 * Cstruct.uint32) option
val write_inline : string -> int -> Cstruct.t -> (Tag.t * Cstruct.t) list
val n_pointers : int -> int
val of_block : int -> Cstruct.t -> Cstruct.uint32 list * Cstruct.t
val last_block_index : file_size:int -> block_size:int -> int
val first_byte_on_index : block_size:int -> int -> int
OCaml

Innovation. Community. Security.