()
| 25 | } |
| 26 | |
| 27 | async byte() { |
| 28 | if (this.eof()) return |
| 29 | if (!this.started) await this._init() |
| 30 | if (this.cursor === this.buffer.length) { |
| 31 | await this._loadnext() |
| 32 | if (this._ended) return |
| 33 | } |
| 34 | this._moveCursor(1) |
| 35 | return this.buffer[this.undoCursor] |
| 36 | } |
| 37 | |
| 38 | async chunk() { |
| 39 | if (this.eof()) return |
no test coverage detected