Function encode

  • Internal

    Encodes a string into a buffer

    Parameters

    • input: string

    Returns Uint8Array