vhd-format

Pure OCaml library to read/write VHD format data
IN THIS PACKAGE
type t = {
platform_code : Platform_code.t;
platform_data_space : int32;(*

The number of 512-byte sectors needed to store the platform_data

*)
platform_data_space_original : int32;(*

The original platform_data_space before automatic correction

*)
platform_data_length : int32;(*

The length of the platform_data

*)
platform_data_offset : int64;(*

The absolute offset of the platform_data

*)
platform_data : Cstruct.t;
}
val null : t

No parent locator

val equal : t -> t -> bool
val to_string : t -> string
val to_filename : t -> string option

Attempt to read a filename from the platform_data

val sizeof : int
val marshal : Cstruct.t -> t -> unit
val unmarshal : Cstruct.t -> ( t, exn ) result