package mirage-xen

  1. Overview
  2. Docs
type t

Type of a grant table index (an integer), called a grant reference in Xen's terminology.

val of_string : string -> (t, [> `Msg of string ]) result

of_string x parses x as a 32-bit unsigned decimal.

val to_string : t -> string

to_string x is x formatted as a 32-bit unsigned decimal.

val pp : t Fmt.t
val to_int32 : t -> Int32.t
val of_int32 : Int32.t -> t
OCaml

Innovation. Community. Security.