bin: print out the kbin to stdout

This commit is contained in:
Matt Bilker
2018-07-11 22:15:40 -04:00
parent b17220d381
commit d83aecefa4

View File

@@ -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)?;
}
/*