package qcow

  1. Overview
  2. Docs

Parsers and printers for types used in qcow2 fields

type t = int
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Qcow_s.NUM with type t := t
val zero : t
val pred : t -> t
val succ : t -> t
val add : t -> t -> t
val sub : t -> t -> t
val mul : t -> t -> t
val div : t -> t -> t
val of_int : int -> t
val to_int : t -> int
val to_string : t -> string
val shift_left : t -> int -> t
val shift_right_logical : t -> int -> t
val logor : t -> t -> t
val rem : t -> t -> t
val of_int64 : int64 -> t
val to_int64 : t -> int64
val round_up : t -> t -> t

round_up value to rounds value to the next multiple of to

module IntervalSet : Qcow_s.INTERVAL_SET with type elt = t
module Map : Map.S with type key = t
OCaml

Innovation. Community. Security.