/encoding/byteString/to
stdCoverts a byte array into a string.
Type signature
(bytes: number[]) => string
Examples
to([0x50, 0x51, 0x52]);
// ⇒ "PQR"
Try in REPL
Questions
- How to convert a byte array to string?
(bytes: number[]) => string
to([0x50, 0x51, 0x52]);
// ⇒ "PQR"
Try in REPL