This commit is contained in:
vms 2021-04-22 20:35:11 +03:00
parent d7d91a263e
commit c4c1e449d3

View File

@ -111,6 +111,8 @@ impl<'w, 'm> SequentialWriter<'w, 'm> {
pub fn write_array<const N: usize>(&self, values: [u8; N]) {
let offset = self.offset.get();
log::trace!("write array: offset {} {:?}", offset, values);
self.writer.memory[offset..offset + N]
.iter()
.zip(values.iter())