Skip to content

what is the correct way to convert a Buffer to a string? #883

@jpollard-cs

Description

@jpollard-cs

for all return types where the value.constructor.name === 'Buffer', should conversion to a string be done as:

value.toString('hex').toUpperCase()

or are there further complexities here?

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