package vhd-format

  1. Overview
  2. Docs
type t = {
  1. platform_code : Platform_code.t;
  2. platform_data_space : int32;
    (*

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

    *)
  3. platform_data_space_original : int32;
    (*

    The original platform_data_space before automatic correction

    *)
  4. platform_data_length : int32;
    (*

    The length of the platform_data

    *)
  5. platform_data_offset : int64;
    (*

    The absolute offset of the platform_data

    *)
  6. 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
OCaml

Innovation. Community. Security.