1 unstable release
0.1.0 | Sep 30, 2023 |
---|
#1019 in Filesystem
22 downloads per month
48KB
1K
SLoC
VHDX
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();