MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / readUint16

Method readUint16

modules/data/wavreader/wavreader.js:95–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 return result;
94 }
95 readUint16() {
96 let result = this.wav.getUint16(this.position, true);
97 this.position += 2;
98 if (this.position > this.waveSize)
99 throw new Error("eof");
100 return result;
101 }
102 readInt16() {
103 let result = this.wav.getInt16(this.position, true);
104 this.position += 2;

Callers 15

constructorMethod · 0.95
sampleMethod · 0.45
constructorMethod · 0.45
configureMethod · 0.45
closeMethod · 0.45
sampleMethod · 0.45
#triggerFeaturesMethod · 0.45
sampleMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
#readWordMethod · 0.45
sampleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected