Module Bin_ser.Decoder_state
type t
= decoder_state
Decoder state
val get : t -> (_, 'a) Key.t -> int -> 'a option
Access a decoded value of type
'a
with the given integer.
val get_exn : t -> (_, 'a) Key.t -> int -> 'a
Access a decoded value of type
'a
with the given integer.- raises Not_found
if no such object was decoded
val make : ?db:Event.DB.t -> unit -> t
make ~defs ()
creates a decoder with side definitionsdefs