mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-09 02:55:30 -05:00
byte_buffer: display buffer when writing aligned data
This commit is contained in:
@@ -211,7 +211,7 @@ impl ByteBufferWrite {
|
||||
|
||||
let old_pos = self.data_buf_offset();
|
||||
let size = data_type.size * data_type.count;
|
||||
trace!("write_aligned => old_pos: {}, size: {}", old_pos, size);
|
||||
trace!("write_aligned => old_pos: {}, size: {}, data: 0x{:02x?}", old_pos, size, data);
|
||||
|
||||
if size != data.len() {
|
||||
return Err(KbinErrorKind::SizeMismatch(data_type, size, data.len()).into());
|
||||
|
||||
Reference in New Issue
Block a user