silc_utf8_decoded_len

SYNOPSIS

    SilcUInt32 silc_utf8_decoded_len(const unsigned char *bin,
                                     SilcUInt32 bin_len,
                                     SilcStringEncoding bin_encoding);

DESCRIPTION

Returns the length of decoded string if the `bin' of encoding of `bin_encoding' is decoded with silc_utf8_decode. Returns zero (0) on error.