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

Method writeInt32BE

packages/alphatab/src/io/IOHelper.ts:182–187  ·  view source on GitHub ↗
(o: IWriteable, v: number)

Source from the content-addressed store, hash-verified

180 }
181
182 public static writeInt32BE(o: IWriteable, v: number) {
183 o.writeByte((v >> 24) & 0xff);
184 o.writeByte((v >> 16) & 0xff);
185 o.writeByte((v >> 8) & 0xff);
186 o.writeByte((v >> 0) & 0xff);
187 }
188
189 public static writeInt32LE(o: IWriteable, v: number) {
190 o.writeByte((v >> 0) & 0xff);

Callers 5

writeForScoreMethod · 0.80
writeToMethod · 0.80
writeForScoreMethod · 0.80
writeToMethod · 0.80
writeToMethod · 0.80

Calls 1

writeByteMethod · 0.65

Tested by

no test coverage detected