Skip to content

unnecessary copy with .toString() ?  #1878

Closed
@bitpup

Description

@bitpup

Not to sound dumb, but, coming from a Node perspective, isn't this causing an unnecessary copy to occur?

this.emit('message', buf.toString());

perhaps it's required for browser API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions