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

Method readUInt16LE

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

Source from the content-addressed store, hash-verified

59 }
60
61 public static readUInt16LE(input: IReadable): number {
62 const ch1: number = input.readByte();
63 const ch2: number = input.readByte();
64 return TypeConversions.int32ToUint16((ch2 << 8) | ch1);
65 }
66
67 public static readInt16LE(input: IReadable): number {
68 const ch1: number = input.readByte();

Callers 12

_readEntryMethod · 0.80
_inflateLoopMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80

Calls 2

readByteMethod · 0.65
int32ToUint16Method · 0.45

Tested by

no test coverage detected