(handle, buf, off, len, position, cb)
| 416 | read_(this, handle, buf, off, len, position, cb); |
| 417 | } |
| 418 | readData(handle, buf, off, len, position, cb) { |
| 419 | // Backwards compatibility |
| 420 | this.read(handle, buf, off, len, position, cb); |
| 421 | } |
| 422 | write(handle, buf, off, len, position, cb) { |
| 423 | if (this.server) |
| 424 | throw new Error('Client-only method called in server mode'); |