feat: add main4

This commit is contained in:
2020-11-20 23:50:29 +08:00
parent 6488b111d7
commit 30dc4a1416
5 changed files with 106 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ fn parse<P: AsRef<Path>>(path: P) -> Result<()> {
unsafe { mem::transmute(h) }
};
println!("{:#?}", header);
println!("{:?}", header);
Ok(())
}
fn write<P: AsRef<Path>>(path: P, h: Header) -> Result<()> {