src/fmt.c
/** \brief Hex encode string using uppercase character.
 *
 * \return 2*len
 */
\brief Hex encode string using uppercase character.
\return 2*len
\ brief Hex encode string using uppercase character . \ return 2 * len
size_t str_enc_B16_n(char ** dst, size_t * cap, StrRef ref)
{
    if(*cap > 2*ref.len)
    {
        str_encode_B16(*dst, ref);
        *dst += 2*ref.len;
        *cap -= 2*ref.len;
    }
    else
    {
        str_rst_dst(dst, cap);
    }
    return 2*ref.len;
}
size_t str_enc_B16_n ( char * * dst , size_t * cap , StrRef ref ) { if ( * cap > 2 * ref . len ) { str_encode_B16 ( * dst , ref ) ; * dst += 2 * ref . len ; * cap -= 2 * ref . len ; } else { str_rst_dst ( dst , cap ) ; } return 2 * ref . len ; }
\brief Hex encode string using uppercase character.
\ brief Hex encode string using uppercase character .