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

Method writeInt16BE

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

Source from the content-addressed store, hash-verified

204 }
205
206 public static writeInt16BE(o: IWriteable, v: number) {
207 o.writeByte((v >> 8) & 0xff);
208 o.writeByte((v >> 0) & 0xff);
209 }
210
211 public static writeFloat32BE(o: IWriteable, v: number) {
212 const b = TypeConversions.float32BEToBytes(v);

Callers 2

writeToMethod · 0.80
writeToMethod · 0.80

Calls 1

writeByteMethod · 0.65

Tested by

no test coverage detected