base64.h

来自「sleuthit-2.09 一个磁盘的工具集」· C头文件 代码 · 共 40 行

H
40
字号
/* * Base64 conversion. * * From RFC1521 and draft-ietf-dnssec-secext-03.txt. * * Implementation (C) 1996-1999 by Internet Software Consortium. */#ifndef BASE64_H#define BASE64_H#include <sys/types.h>#ifdef __cplusplusextern "C" {#endif#ifdef NEVER_DEFINED}#endif/* Convert from printable base64 to binary. * Returns number of bytes converted */int b64_pton_slg(const char *str,int srclen,unsigned char *target,size_t targsize);/* Convert from binary to printable base 64. * returns size of printable thing. */int b64_ntop(const unsigned char *str,size_t srclength,char *target,size_t targsize);#ifdef NEVER_DEFINED{#endif#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?