All ReadFile related Questions

by sachin | 24/04/17 | 2 Answers | Tags : PHP , file-system , readFile , memory-leak , memory-issue , chunk-read Views : 2765
dealing with very large data file and want to read without memory crash . fread will read all content file which is time consuming and some time script goes out of order so is there any way we can read data in chunk with good library or something ? so file read in PHP so no memory issue and fast processing for large file

Read more

by ajamil | 24/01/17 | 1 Answers | Tags : readFile , C# Views : 867
how to read binary from a text file and turning them into buttons c#

Read more

by jaydeep | 19/01/17 | 3 Answers | Tags : Javascript , node.js , readFile , readFileSync Views : 3186
why readFile return buffer in Node JS ? what i got at console is <Buffer 30 09 5f 64 65 62 75 67 5f 61 67 65 6e 74 26 31 09 5f 64 65 62 75 67 67 65 72 26 32 09 5f 68 74 74 70 5f 61 67 65 6e 74 26 33 09 5f 68 74 74 70 5f 63 ... > it says i am buffer . and it should be file content get same with readFileSync var file=fs.readFileSync(filePath); i got again buffer , so what is the issue with readFile and readFileSync ? why readFile and readFileSync return buffer instead content ?

Read more