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

Method seekTo

modules/data/wavreader/wavreader.js:130–134  ·  view source on GitHub ↗
(position)

Source from the content-addressed store, hash-verified

128 this.position = position
129 }
130 seekTo(position) {
131 if (position >= this.waveSize)
132 throw new RangeError;
133 this.position = position;
134 }
135}
136
137export default WavReader;

Callers 2

constructorMethod · 0.95
idleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected