* Reads data from the file synchronously. * @param {Buffer} buffer The buffer to read into * @param {number} offset The offset in the buffer to start writing * @param {number} length The number of bytes to read * @param {number|null} position The position to read from (null uses current
(buffer, offset, length, position)
| 126 | * @throws {ERR_METHOD_NOT_IMPLEMENTED} When not implemented by subclass |
| 127 | */ |
| 128 | readSync(buffer, offset, length, position) { |
| 129 | this.#checkClosed('read'); |
| 130 | throw new ERR_METHOD_NOT_IMPLEMENTED('readSync'); |
| 131 | } |
| 132 | |
| 133 | /** |
| 134 | * Writes data to the file. |
nothing calls this directly
no test coverage detected