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

Method setStaticCodes

packages/alphatab/src/zip/DeflaterHuffman.ts:359–362  ·  view source on GitHub ↗

* Set static codes and length * @param staticCodes new codes * @param staticLengths length for new codes

(staticCodes: Int16Array, staticLengths: Uint8Array)

Source from the content-addressed store, hash-verified

357 * @param staticLengths length for new codes
358 */
359 public setStaticCodes(staticCodes: Int16Array, staticLengths: Uint8Array) {
360 this._codes = staticCodes;
361 this.length = staticLengths;
362 }
363
364 /**
365 * Build dynamic codes and lengths

Callers 1

flushBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected