Closed jamestalmage closed 8 years ago
This incorporates the stream buffering behavior into a submodule buffer-stream.
buffer-stream
That submodule creates a PassThrough stream that simply buffers the data passed through it.
It has two addtional methods getBufferedValue and getBufferedLength.
getBufferedValue
getBufferedLength
I think it makes the code easier to understand.
Indeed. Good cleanup! :)
This incorporates the stream buffering behavior into a submodule
buffer-stream
.That submodule creates a PassThrough stream that simply buffers the data passed through it.
It has two addtional methods
getBufferedValue
andgetBufferedLength
.I think it makes the code easier to understand.