mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-09 11:05:19 -05:00
lib: supposed to realign the node_buf not the data_buf
This commit is contained in:
@@ -352,7 +352,7 @@ impl KbinXml {
|
||||
self.write_node(&mut node_buf, &mut data_buf, input)?;
|
||||
|
||||
node_buf.write_u8(StandardType::FileEnd.id | ARRAY_MASK).context(KbinErrorKind::DataWrite("file end"))?;
|
||||
data_buf.realign_writes(None)?;
|
||||
node_buf.realign_writes(None)?;
|
||||
|
||||
let mut output = header.into_inner();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user