(count)
| 121 | return result; |
| 122 | } |
| 123 | seekBy(count) { |
| 124 | const position = this.position + count; |
| 125 | if ((position >= this.waveSize) || (position < 0)) |
| 126 | throw new RangeError; |
| 127 | |
| 128 | this.position = position |
| 129 | } |
| 130 | seekTo(position) { |
| 131 | if (position >= this.waveSize) |
| 132 | throw new RangeError; |