(Please don't confuse it with the Buffer class)I have read the whole fs module page on NodeJS documentation. But I haven't found any mention about a way to specify a file buffer for it.For example:- In C/C++, you can use setbuf or setvbuf function;- In C#, the FileStream class has certain constructors that allow you to set the buffer size, the class itself sets 4KB as the default buffer size.So is there any equivalent in NodeJS world or I have to make my own?Please note that I aware about Stream, but my need is the ability to seek backward and forward arbitrarily in a file (with the help of fs-ext package).
Submitted July 26, 2020 at 05:17AM by MeigyokuThmn
No comments:
Post a Comment