fix: put byte_array final pos incrementer in wrong scope

This commit is contained in:
Kasey White
2022-06-08 15:42:58 -04:00
parent be477917f2
commit 33fcb77681

View File

@@ -134,8 +134,9 @@ impl<'b> Decoder<'b> {
self.pos += blk_len as usize;
blk_len = self.buffer[self.pos];
self.pos += 1
}
self.pos += 1;
Ok(blk_array)
}