Skip to content

stream: add bytesRead property for readable

Add a bytesRead property for readable is useful in some use cases.

When user want know how many bytes read of readable, need to caculate it in userland. If encoding is specificed, get the value is very slowly.

Merge request reports

Loading