mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-08 10:35:32 -05:00
bin: print out the kbin to stdout
This commit is contained in:
@@ -139,6 +139,9 @@ fn main() -> std::io::Result<()> {
|
||||
let options = Options::default();
|
||||
let buf = KbinXml::to_binary_with_options(options, &element).map_err(display_err)?;
|
||||
eprintln!("data: {:02x?}", buf);
|
||||
|
||||
let mut stdout = stdout();
|
||||
stdout.lock().write_all(&buf)?;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user