mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-09 02:55:30 -05:00
bin: put the decoded node collection derived straight from the text xml on the left
This commit is contained in:
@@ -248,8 +248,8 @@ fn run() -> Fallible<()> {
|
||||
Printer::run(&buf)?;
|
||||
}
|
||||
|
||||
let (encoded_collection, _encoding) = kbinxml::from_binary(Bytes::from(buf.as_slice()))?;
|
||||
compare_collections(&encoded_collection, &collection);
|
||||
let (encoded_collection, _encoding) = kbinxml::from_binary(Bytes::from(buf.clone()))?;
|
||||
compare_collections(&collection, &encoded_collection);
|
||||
|
||||
io::stdout().write_all(&buf)?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user