javascript - Node.JS WriteFile - File of specific size -
is there way specify size/length of file , have system reserve space needed? i'm looking like:
fs.write('file', buffer, 1024*1024*54); // create 54mb file.
just create buffer of size?
fs.writefile('file', new buffer(1024*1024*54));
Comments
Post a Comment