Convert a string to an ArrayBuffer.

  • Parameters

    • str: string

      String to convert.

    Returns ArrayBuffer

    The ArrayBuffer.