package vhd-format

  1. Overview
  2. Docs

Module F.BitmapSource

Sourcetype t
Sourceval get : t -> int64 -> bool

get t sector is true if sector is present in the block

Sourceval set : t -> int64 -> (int64 * Cstruct.t) option

set t sector asserts the bit for sector, returning a (relative offset, data to be written to disk) pair.