ShadowNode icon indicating copy to clipboard operation
ShadowNode copied to clipboard

net: TypedArray support on write

Open legendecas opened this issue 5 years ago • 3 comments

  • Version: v0.11.x
  • Platform: all
  • Subsystem: net

Socket#write doesn't accept TypedArray.

var conn = net.createConnection('foo.sock')
conn.write(new UInt8Array(2)) // TypeError: invalid argument

legendecas avatar Sep 10 '19 13:09 legendecas

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.70. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Sep 10 '19 13:09 issue-label-bot[bot]

UInt8Array -> Uint8Array

Txiaozhe avatar Sep 21 '19 04:09 Txiaozhe

Removed the label "good first issue" it might be as some jobs that do:

  • fix document and source code are inconsistent,
  • improve the documents,
  • improve the source code by env, include and more.

yorkie avatar Sep 21 '19 07:09 yorkie