* Writes data to the file synchronously. * @param {Buffer} buffer The buffer to write from * @param {number} offset The offset in the buffer to start reading * @param {number} length The number of bytes to write * @param {number|null} position The position to write to (null uses current
(buffer, offset, length, position)
| 152 | * @throws {ERR_METHOD_NOT_IMPLEMENTED} When not implemented by subclass |
| 153 | */ |
| 154 | writeSync(buffer, offset, length, position) { |
| 155 | this.#checkClosed('write'); |
| 156 | throw new ERR_METHOD_NOT_IMPLEMENTED('writeSync'); |
| 157 | } |
| 158 | |
| 159 | /** |
| 160 | * Reads the entire file. |
nothing calls this directly
no test coverage detected