Function encode

  • SMILE-encode the specified value.

    Parameters

    • value: any

      value

    • Optionaloptions: Partial<EncoderOptions>

      encoder options

    Returns Uint8Array