package vhd-format

  1. Overview
  2. Docs

Module Vhd_format.FSource

Sourceval sector_size : int

Sector size of the vhd virtual disk, in bytes

Sourceval sector_shift : int

1 lsl sector_shift = sector_size

Sourceval cstruct_equal : Cstruct.t -> Cstruct.t -> bool
Sourceexception Invalid_sector of int64 * int64

An attempt to access (read/write) an invalid sector

Sourceval max_disk_size : int64

Maximum size of a dynamic disk in bytes

Sourcemodule UTF16 : sig ... end
Sourcemodule Feature : sig ... end
Sourcemodule Disk_type : sig ... end
Sourcemodule Host_OS : sig ... end
Sourcemodule Geometry : sig ... end
Sourcemodule Platform_code : sig ... end
Sourcemodule Parent_locator : sig ... end
Sourcemodule Header : sig ... end
Sourcemodule BAT : sig ... end
Sourcemodule Batmap_header : sig ... end
Sourcemodule Batmap : sig ... end
Sourcemodule Bitmap : sig ... end
Sourcemodule Bitmap_cache : sig ... end
Sourcemodule Sector : sig ... end
Sourcemodule Vhd : sig ... end
Sourcemodule Raw : sig ... end
Sourcetype size = {
  1. total : int64;
    (*

    size of the final disk, in sectors

    *)
  2. metadata : int64;
    (*

    number of metadata sectors

    *)
  3. empty : int64;
    (*

    number of sectors of empty space

    *)
  4. copy : int64;
    (*

    number of copied sectors

    *)
}

The amount of data contained in a stream, broken down by type

Sourceval empty : size
Sourcemodule Stream (A : S.ASYNC) : sig ... end
Sourcemodule Fragment : sig ... end
Sourcemodule From_input (I : S.INPUT) : sig ... end
Sourcemodule From_file (F : S.FILE) : sig ... end
OCaml

Innovation. Community. Security.