()
| 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)) |