1// if the buffers contain text
2buffer.toString(encoding) // encoding = 'utf-8'
3
4// if you know how many bytes the buffer contains then
5buffer.toString(encoding, 0, numberOfBytes) // numberOfBytes = 12
6
1const Stream = require('stream')
2
3const readableStream = new Stream.Readable()
4const writableStream = new Stream.Writable()