fix: put byte_array final pos incrementer in wrong scope
This commit is contained in:
parent
be477917f2
commit
33fcb77681
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue