package vhd-format

  1. Overview
  2. Docs
type t = {
  1. features : Feature.t list;
  2. data_offset : int64;
  3. time_stamp : int32;
  4. creator_application : string;
  5. creator_version : int32;
  6. creator_host_os : Host_OS.t;
  7. original_size : int64;
  8. current_size : int64;
  9. geometry : Geometry.t;
  10. disk_type : Disk_type.t;
  11. checksum : int32;
  12. uid : Uuidm.t;
  13. saved_state : bool;
}
val create : ?features:Feature.t list -> data_offset:int64 -> ?time_stamp:int32 -> ?creator_application:string -> ?creator_version:int32 -> ?creator_host_os:Host_OS.t -> current_size:int64 -> ?original_size:int64 -> disk_type:Disk_type.t -> ?uid:Uuidm.t -> ?saved_state:bool -> unit -> t
val compute_checksum : t -> int32
val default_creator_application : string
val default_creator_version : int32
val sizeof : int
val marshal : Cstruct.t -> t -> t
val unmarshal : Cstruct.t -> (t, exn) Vhd_result.t
val to_string : t -> string
OCaml

Innovation. Community. Security.