I would like to propose the addition of `fs.ReadStream.prototype.bytesRead` which should represent the number of bytes read from the file. It seems like it's "missing" since `fs.WriteStream` has `bytesWritten` and `net.Socket` has both `bytesRead` and `bytesWritten`. Implementation should be very trivial, I would be happy to submit a pull request.
Activity
lpinca commentedon Sep 2, 2016
I guess this can be closed as it has been fixed in 4a87abb.
lpinca commentedon Sep 2, 2016
Closing, please reopen if needed.
ORESoftware commentedon Jul 13, 2019
I cannot seem to read bytesRead or bytesWritten off any of the below streams:
the jsonParser is a transform stream. Anybody know how I can get the bytesRead/bytesWritten from these kinds of streams? thx