Skip to content

net: TypedArray support on write #558

@legendecas

Description

@legendecas
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions