fix ArrayWriter.skip()
This commit is contained in:
parent
4837ac83df
commit
959fd31d01
2 changed files with 1 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ self.ArrayWriter = class ArrayWriter {
|
|||
}
|
||||
|
||||
skip(len) {
|
||||
this.pos += len;
|
||||
this.writeBytes(new Array(len).fill(0), len);
|
||||
return this.pos;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue