You can search for identifiers within the package.
in-package search v0.2.0
omod.support
Omod_support.Codec
Value serializers.
The underlying implementation uses Marshal with magic numbers that depend on omod and OCaml's versions.
Marshal
type 'a t
The type for codec of values of type 'a.
'a
val v : id:string -> 'a t
v ~id is a new codec with identifier id (part of the magic number).
v ~id
id
val write : 'a t -> Omod.fpath -> 'a -> (unit, string) result
write c file v writes value v to file using codec c.
write c file v
v
file
c
val read : 'a t -> Omod.fpath -> ('a, string) result
read c file reads a value from file using codec c.
read c file