fs.write(fd, buffer, offset, length, position, callback ). You need to wait for the callback to ensure that the buffer is written to disk. · fs.writeFile( ...
確定! 回上一頁