Function bytesToUtf8

  • Converts bytes to the equivalent UTF-8 string

    Example

    bytesToUtf8(Uint8Array.from([115, 116, 97, 99, 107, 115, 32, 211, 190])); // 'stacks ΣΎ'
    

    Parameters

    • arr: Uint8Array

    Returns string

Generated using TypeDoc