package vhd-format

  1. Overview
  2. Docs

Module From_file.Raw_IOSource

Sourceval openfile : string -> bool -> F.fd Raw.t F.t

openfile filename opens a raw-format file filename

Sourceval close : F.fd Raw.t -> unit F.t

close t frees all resources associated with t

Sourceval create : filename:string -> size:int64 -> unit -> F.fd Raw.t F.t

create ~filename ~size creates an empty raw file with virtual size size bytes and filename filename.