• Parameters

    • str: string
    • charSize: CharSize = DEFAULT_CHAR_SIZE

    Returns ArrayBuffer