vhdx 0.1.0

An implementation of Microsoft's VHDX virtual hard disk format.
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented1 out of 5 items with examples
  • Size
  • Source code size: 60.89 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.36 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • calebfletcher/vhdx
    1 0 4
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • calebfletcher

VHDX

Latest Version Rust Documentation Actions Status Unsafe Forbidden

An implementation of Microsoft's VHDX virtual hard disk format in Rust.

Based on Microsoft's Open Specification available at: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-vhdx

Usage

cargo add vhdx

[dependencies]

vhdx = "0.1"

Example

use std::io::Read;

let mut disk = vhdx::Vhdx::load("disk.vhdx");
let mut reader = disk.reader();

let mut buffer = [0; 512];
reader.read(&mut buffer).unwrap();