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

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -