Module Qcow_types.Int64
include module type of Stdlib.Int64
val neg : int64 -> int64val add : int64 -> int64 -> int64val sub : int64 -> int64 -> int64val mul : int64 -> int64 -> int64val div : int64 -> int64 -> int64
val unsigned_rem : int64 -> int64 -> int64val succ : int64 -> int64val pred : int64 -> int64val abs : int64 -> int64val max_int : int64val min_int : int64
val logand : int64 -> int64 -> int64val logor : int64 -> int64 -> int64val logxor : int64 -> int64 -> int64
val shift_left : int64 -> int -> int64val shift_right : int64 -> int -> int64val shift_right_logical : int64 -> int -> int64val of_int : int -> int64val to_int : int64 -> int
val t_of_sexp : Sexplib.Sexp.t -> tval sexp_of_t : t -> Sexplib.Sexp.tval of_int64 : int64 -> tval to_int64 : t -> int64val round_up : int64 -> int64 -> int64round_up value toroundsvalueto the next multiple ofto
module IntervalSet = Qcow_int64.IntervalSetmodule Map = Qcow_int64.Mapinclude Qcow_s.SERIALISABLE with type t := t
val sizeof : t -> intThe size of a buffer needed to hold
t
val read : Cstruct.t -> (t * Cstruct.t, [ `Msg of string ]) Result.resultRead a
tfrom the given buffer and return it, along with the unused remainder of the buffer. If the buffer cannot be parsed then return an error.
val write : t -> Cstruct.t -> (Cstruct.t, [ `Msg of string ]) Result.resultWrite a
tinto the given buffer. If the buffer is too small, then return an error. Return the unused remainder of the buffer.