package fat-filesystem

  1. Overview
  2. Docs
type data =
  1. | String of string
  2. | Cstruct of Cstruct.t
type t = {
  1. offset : int64;
  2. data : data;
}
val to_string : t -> string
val from_string : int64 -> string -> t
val from_cstruct : int64 -> Cstruct.t -> t
val shift : int64 -> t -> t
val total_length : t -> int64
val apply : Cstruct.t -> t -> unit
val clip : t -> int64 -> int -> t
val is_empty : t -> bool
val split : t -> int -> t list
val map : t list -> int list -> int -> t list
OCaml

Innovation. Community. Security.