Skip to content

Buffer.fromHex and Buffer.fromBase64 should return Buffer instances #61146

Description

@ChALkeR

Those should either be removed from the Buffer API, or should return Buffers

Currently:

> Buffer.fromHex('00ff').toString()
'0,255'

Since 25

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bufferIssues and PRs related to the buffer subsystem.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions