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

Method readInt8

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

Source from the content-addressed store, hash-verified

114 return result;
115 }
116 readInt8() {
117 let result = this.wav.getInt8(this.position, true);
118 this.position += 1;
119 if (this.position > this.waveSize)
120 throw new Error("eof");
121 return result;
122 }
123 seekBy(count) {
124 const position = this.position + count;
125 if ((position >= this.waveSize) || (position < 0))

Callers 1

getSamplesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected