mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Buffer.byteLength() works only for string inputs. Thus, when connection has pending Buffer to write, it should just use it's length instead of throwing exception.