net: cleans up 4 instances of internal stream access
This pull request contains 4 commits, each which clean up an individual instance of stream _writableState
or _readableState
access. Each commit contains a nice explanation on how each change works and why it should work the same.
If node can't use the public stream APIs, why should anyone else?