aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 7546df8..4bcc7a5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -290,6 +290,9 @@ fn container_node<'a>(data: &'a [u8]) -> IResult<&'a [u8], ()> {
fn object_node<'a>(data: &'a [u8]) -> IResult<&'a [u8], ()> {
let (r, (_, name, num, payload)) = tuple((tag(b"\xff\xff\xff\xff"), cmstring, be_u16, length_data(be_u32)))(data)?;
println!(" Object: {}, {}, {}", name, num, payload.len());
+
+ let (_, nv) = node_value(name, payload)?;
+ println!(" {:?}", nv);
Ok((r, ()))
}