I\'m fairly new to Buffers and ReadableStreams, so maybe this is a stupid question. I have a library that takes as input a ReadableStream, but my input is just
ReadableStream
For nodejs 10.17.0 and up:
const stream = Readable.from(myBuffer.toString());