📄 encode.h
字号:
/* * Desc: Useful encoding/decoding routines * Author: Andrew Howard * Date: 16 Sep 2005 * CVS: $Id: encode.h,v 1.2 2004/09/23 05:42:04 inspectorg Exp $ */#ifndef ENCODE_H_#define ENCODE_H_/// Determine the size of the destination buffer for hex encodingsize_t EncodeHexSize(size_t src_len);/// Encode binary data to ascii hex.void EncodeHex(char *dst, size_t dst_len, const void *src, size_t src_len);/// Determine the size of the destination buffer for hex decodingsize_t DecodeHexSize(size_t src_len);/// Decodes ascii hex to binary data. void DecodeHex(void *dst, size_t dst_len, const char *src, size_t src_len);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -