package vhd-format

  1. Overview
  2. Docs

Module F.From_fileSource

Parameters

module F : S.FILE

Signature

Sourcemodule Vhd_IO : sig ... end
Sourcemodule Raw_IO : sig ... end
Sourcetype 'a ll =
  1. | Cons of 'a * unit -> 'a ll F.t
  2. | End
    (*

    a lazy list

    *)
Sourceval iter : ('a -> unit F.t) -> 'a ll -> unit F.t

iter f stream applies each element from stream to f in order.

Sourceval fold_left : ('a -> 'b -> 'a F.t) -> 'a -> 'b ll -> 'a F.t

fold_left f initial stream folds f across all the elements in the stream with neutral element initial

Sourcetype 'a stream = {
  1. elements : 'a Element.t ll;
  2. size : size;
}

an image of a disk represented as a stream

Sourceval expand_empty : 'a stream -> 'a stream F.t

replaces 'Empty' elements with explicit writes of zeroes

Sourceval expand_copy : F.fd stream -> F.fd stream F.t

replaces 'Copy' elements with explicit writes of data

Sourcemodule Vhd_input : sig ... end
Sourcemodule Hybrid_input : sig ... end
Sourcemodule Raw_input : sig ... end
Sourcemodule Hybrid_raw_input : sig ... end
OCaml

Innovation. Community. Security.