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

Method readInt16LE

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

Source from the content-addressed store, hash-verified

65 }
66
67 public static readInt16LE(input: IReadable): number {
68 const ch1: number = input.readByte();
69 const ch2: number = input.readByte();
70 return TypeConversions.int32ToInt16((ch2 << 8) | ch1);
71 }
72
73 public static readUInt32BE(input: IReadable): number {
74 const ch1: number = input.readByte();

Callers 5

_readDirectionMethod · 0.80
readPageSetupMethod · 0.80
readBeatMethod · 0.80
_readEntryMethod · 0.80
constructorMethod · 0.80

Calls 2

readByteMethod · 0.65
int32ToInt16Method · 0.45

Tested by

no test coverage detected