Function encodeUTF8

  • Encodes a UTF-8 string into a buffer

    Parameters

    • input: string

    Returns Uint8Array