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

Method readInt32LE

packages/alphatab/src/io/IOHelper.ts:31–37  ·  view source on GitHub ↗
(input: IReadable)

Source from the content-addressed store, hash-verified

29 }
30
31 public static readInt32LE(input: IReadable): number {
32 const ch1: number = input.readByte();
33 const ch2: number = input.readByte();
34 const ch3: number = input.readByte();
35 const ch4: number = input.readByte();
36 return (ch4 << 24) | (ch3 << 16) | (ch2 << 8) | ch1;
37 }
38
39 public static readInt64LE(input: IReadable): number {
40 const b = new Uint8Array(8);

Callers 15

readScoreMethod · 0.80
readScoreInformationMethod · 0.80
readLyricsMethod · 0.80
readPlaybackInfosMethod · 0.80
readTrackMethod · 0.80
readVoiceMethod · 0.80
readBeatMethod · 0.80
readChordMethod · 0.80
readTremoloBarEffectMethod · 0.80
readMixTableChangeMethod · 0.80
readBendMethod · 0.80
gpReadStringIntMethod · 0.80

Calls 1

readByteMethod · 0.65

Tested by

no test coverage detected