FUCK
This commit is contained in:
parent
b6627b9a51
commit
5557dc1750
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ export default class VM {
|
||||||
this.#currentChunk = Buffer.alloc(this.#currentChunkSize);
|
this.#currentChunk = Buffer.alloc(this.#currentChunkSize);
|
||||||
data.copy(this.#currentChunk, 0, 4);
|
data.copy(this.#currentChunk, 0, 4);
|
||||||
this.#currentChunkOffset = data.length - 4;
|
this.#currentChunkOffset = data.length - 4;
|
||||||
}
|
if (this.#currentChunkSize > this.#currentChunk!.length) return;
|
||||||
if (this.#currentChunkSize > this.#currentChunk!.length) {
|
} else if (this.#currentChunkSize > this.#currentChunk!.length) {
|
||||||
data.copy(this.#currentChunk!, this.#currentChunkOffset);
|
data.copy(this.#currentChunk!, this.#currentChunkOffset);
|
||||||
this.#currentChunkOffset += data.length;
|
this.#currentChunkOffset += data.length;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue