silc_mp_set_str

SYNOPSIS

    SilcBool silc_mp_set_str(SilcMPInt *dst, const char *str, int base);

DESCRIPTION

Set `dst' integer from string `str' of base `base'. The `dst' must already be initialized.

NOTES

For base 2 the string must be in ASCII bit presentation, not in binary. Use the silc_mp_bin2mp to decode binary into integer.