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

Method readUint32

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

Source from the content-addressed store, hash-verified

86 return result;
87 }
88 readUint32() {
89 let result = this.wav.getUint32(this.position, true);
90 this.position += 4;
91 if (this.position > this.waveSize)
92 throw new Error("eof");
93 return result;
94 }
95 readUint16() {
96 let result = this.wav.getUint16(this.position, true);
97 this.position += 2;

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected