package qcow-types

  1. Overview
  2. Docs

Module Qcow_intSource

Parsers and printers for types used in qcow2 fields

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

round_up value to rounds value to the next multiple of to

Sourcemodule Map : Map.S with type key = t