• Encode utf-8 string to byte array.

    Parameters

    • s: string

    Returns Uint8Array