Skip to content

"new Buffer()" is deprecated since Node.js 6 #27

Closed
@generalmimon

Description

@generalmimon

The following line:

return new Buffer(arr).toString(encoding);

is marked in VS Code with a deprecation warning:

image

Related article in Node.js docs: https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions