Function byteStrToByteArray

  • Converts a byte string to a byte array.

    Parameters

    • byteStr: string

      The 8 bit-width string to convert to a byte array.

    Returns Uint8Array

    Returns a byte array representing the byte string.