📄 hexa.h
字号:
#ifndef __HEXA_H/* ============================================================================ Project Name : jayaCard TCK Module Name : proto/tck/common/hexa.h Version : $Id: hexa.h,v 1.3 2004/01/11 09:56:34 dgil Exp $ Description: common sources for hexa manipulation The Original Code is jayaCard TCK code. The Initial Developer of the Original Code is Gilles Dumortier. Portions created by the Initial Developer are Copyright (C) 2002-2004 the Initial Developer. All Rights Reserved. Contributor(s): Permission is granted to any individual to use, copy, or redistribute this software so long as all of the original files are included unmodified, that it is not sold for profit, and that this copyright notice is retained. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. History Rev Description 022303 dgil wrote it from scratch ============================================================================*/#define __HEXA_H/* ============================================================================ low-level stuff ========================================================================= */jbyte hexa2byte(char c1,char c2);/* s is a pointer to at least 3 char sized buffer */void byte2hexa(jbyte b,char* s);/* ============================================================================ h-level stuff ========================================================================= */jword hexa2bytes(jbyte* buf,char *str);void bytes2hexa(char* str,jbyte* buf,jword len,char sep);/* ========================================================================= */#endif/* __HEXA_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -