Function bytesToAscii

  • Converts bytes to the equivalent ASCII string

    Parameters

    • arr: Uint8Array

    Returns string

    Example

    bytesToAscii(Uint8Array.from([115, 116, 97, 99, 107, 115, 32, 36])); // 'stacks $'
    

Generated using TypeDoc