val sexp_of_offset : offset -> Ppx_sexp_conv_lib.Sexp.tval offset_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> offsetval to_offset : offset -> intto_offset x converts x to bytes
type t = | Within_shared_page of offset | within the shared page |
| External of int | in separately granted pages |
Location of a data ring
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> tval sexp_of_t : t -> Sexplib0.Sexp.tval to_length : t -> intto_length t gives the maximum number of available bytes at t
val to_order : t -> intto_order t gives the 'order' which is shared via the metadata page and used to uniquely identify the location
val of_order : int -> (t, [> `Msg of string ]) Stdlib.resultof_order x parses the order