Sunday, 23 April 2017

Node js buffer to binary stream

I am reading a file from grid fs as a Buffer and when i try to do

fs.readStream(buffer,callback) 

it throws error as option must be string , i am finding difficulties in converting the buffer into binary stream.



via Niyaz

No comments:

Post a Comment