mirror of https://github.com/lukechilds/node.git
Browse Source
Add a property named bytesRead that exposes how many bytes that have currently been read from the file. This brings consistency with WriteStream that has bytesWritten and net.Socket which have both bytesRead and bytesWritten. Fixes: https://github.com/nodejs/node/issues/#7938 PR-URL: https://github.com/nodejs/node/pull/7942 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>v7.x
Linus Unnebäck
9 years ago
committed by
James M Snell
3 changed files with 23 additions and 1 deletions
Loading…
Reference in new issue