Go to the first, previous, next, last section, table of contents.


The Mmap_text module

type t

val create : file: string -> size: int -> page: int -> t

val load : file: string -> size: int -> page: int -> t

val empty : t -> int

val next : t -> ele: int -> int

val compact : t -> unit

val set : t -> ele: int -> value: string option -> unit

val get : t -> ele: int -> (int * int) option

val which : t -> pos: int -> int option

val close : t -> unit

val buffer : t -> string
val sync : t -> unit


Go to the first, previous, next, last section, table of contents.