lizhendong
¼‰(j¨ª)„e: ¼Òˆ@³£¿Í
¾«ÈAÖ÷î}: 0
°l(f¨¡)Ìû”µ(sh¨´)Á¿: 608 ‚€(g¨¨)
¹¤¿ØÍþÍû: 800 üc(di¨£n)
ÏÂÝd·e·Ö: 1992 ·Ö
ÔÚ¾€•r(sh¨ª)ég: 851(С•r(sh¨ª))
×¢ƒÔ(c¨¨)•r(sh¨ª)ég: 2016-10-12
×îºóµÇä›: 2024-12-22
²é¿´lizhendongµÄ Ö÷î} / »ØÙN
˜ÇÖ÷  °l(f¨¡)±íÓÚ: 2023-07-27 18:25
CÕZÑÔ´ó‚b‚ƒ£¬ÈçºÎÔ”¼š(x¨¬)½â×xß@ƒÉ‚€(g¨¨)º¯”µ(sh¨´)£¿£¿£¿


char *b24e(char *buf, unsigned char *byst, size_t sizeOfBytes)
{
    int i = 0;
    unsigned char *p = byst;
    while ((size_t)(i = (p-byst)) < sizeOfBytes) {
        buf[2*i] = sel[((*p) >> 4)];
        buf[(2*i)+1] = sel[23 - ((*p) & 0x0f)];
        p++;
    }
    buf[(2*i)+1] = '\0';
    return buf;
}

unsigned char *b24d(unsigned char *buf, char *str, size_t countOfChars)
{
    size_t i;
    char *p = str;
    char *loc[2];
    unsigned char n[2];
    if (countOfChars % 2)
        return NULL;
    for (i = 0; i < (countOfChars>>1); i++) {

        loc[0] = strchr( sel, str[2*i] );
        loc[1] = strchr( sel, str[ ( 2*i ) + 1 ] );
        if (loc[0] == NULL || loc[1] == NULL)
            return NULL;
        n[0] = (unsigned char)( loc[0] - sel );
        n[1] = 23 - (unsigned char)( loc[1] - sel );
        buf = (unsigned char)((n[0] << 4) | n[1]);
    }
    return buf;
}
½ðÉßÀɾýczz
܇µ½É½Ç°±ØÓз czz674613079@163.com
¼‰(j¨ª)„e: ¾W(w¨£ng)½j(lu¨°)Ó¢ÐÛ
¾«ÈAÖ÷î}: 0
°l(f¨¡)Ìû”µ(sh¨´)Á¿: 1928 ‚€(g¨¨)
¹¤¿ØÍþÍû: 7499 üc(di¨£n)
ÏÂÝd·e·Ö: 504 ·Ö
ÔÚ¾€•r(sh¨ª)ég: 439(С•r(sh¨ª))
×¢ƒÔ(c¨¨)•r(sh¨ª)ég: 2019-05-22
×îºóµÇä›: 2024-12-22
²é¿´½ðÉßÀɾýczzµÄ Ö÷î} / »ØÙN
1˜Ç  °l(f¨¡)±íÓÚ: 2023-07-28 11:14
¸ú´óÀЂƒŒW(xu¨¦)Á•(x¨ª)Ò»ÏÂ
czz674613079@163.com