MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / reset

Method reset

packages/alphatab/src/zip/DeflaterHuffman.ts:562–568  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

560 }
561
562 public reset() {
563 this._lastLit = 0;
564 this._extraBits = 0;
565 this._literalTree.reset();
566 this._distTree.reset();
567 this._blTree.reset();
568 }
569
570 public flushStoredBlock(stored: Uint8Array, storedOffset: number, storedLength: number, lastBlock: boolean) {
571 this.pending.writeBits((DeflaterHuffman.storedBlock << 1) + (lastBlock ? 1 : 0), 3);

Callers 2

flushStoredBlockMethod · 0.95
flushBlockMethod · 0.95

Calls 1

resetMethod · 0.65

Tested by

no test coverage detected