fix: put byte_array final pos incrementer in wrong scope
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user