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

Method readByteArray

packages/alphatab/src/io/IOHelper.ts:93–97  ·  view source on GitHub ↗
(input: IReadable, length: number)

Source from the content-addressed store, hash-verified

91 }
92
93 public static readByteArray(input: IReadable, length: number): Uint8Array {
94 const v: Uint8Array = new Uint8Array(length);
95 input.read(v, 0, length);
96 return v;
97 }
98
99 public static read8BitChars(input: IReadable, length: number): string {
100 const b: Uint8Array = new Uint8Array(length);

Callers 2

_readEntryMethod · 0.80
_inflateLoopMethod · 0.80

Calls 1

readMethod · 0.65

Tested by

no test coverage detected