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

Method readBytes

packages/alphatab/src/io/BitReader.ts:23–29  ·  view source on GitHub ↗
(count: number)

Source from the content-addressed store, hash-verified

21 }
22
23 public readBytes(count: number): Uint8Array {
24 const bytes: Uint8Array = new Uint8Array(count);
25 for (let i: number = 0; i < count; i++) {
26 bytes[i] = this.readByte() & 0xff;
27 }
28 return bytes;
29 }
30
31 public readBits(count: number): number {
32 let bits: number = 0;

Callers 2

readHeaderMethod · 0.45
decompressMethod · 0.45

Calls 1

readByteMethod · 0.95

Tested by

no test coverage detected