DEV Community

Vincent Lam
Vincent Lam

Posted on

How to work with Streams and Buffer in Nodejs?

I was working on my project.

Essentially I wanted to upload a Readable in memory to GCP Cloud Storage in Node.

It gave me an error saying the Cloud Storage accepts a Buffer type object instead.

I don’t know exactly how to convert a Readable to Buffer

Top comments (0)