helper.h File Reference


Detailed Description

API for misc helper functions.

Software License
See the MBCSL for details.
Author:
Sven Schlender (kontakt at mobacon dot de)
Date:
2011-07-26


Functions

BYTE HelperConvertNibbleFromHex (BYTE AsciiChar)
 Convert the given ASCII hex character to the binary expression.
WORD HelperConvertWordFromHex (BYTE *pAsciiString)
 Convert the given ASCII hex string to the binary WORD expression.


Function Documentation

BYTE HelperConvertNibbleFromHex ( BYTE  AsciiChar  ) 

Convert the given ASCII hex character to the binary expression.

Parameters:
AsciiChar A ASCII character in the range 0-9 or a-f resp. A-F.
Returns:
The converted binary representation.

WORD HelperConvertWordFromHex ( BYTE *  pAsciiString  ) 

Convert the given ASCII hex string to the binary WORD expression.

Parameters:
pAsciiString A ASCII string with characters in the range 0-9 or a-f resp. A-F. The string can have a length up to 4.
Returns:
The converted binary representation.


Generated on Fri Mar 29 10:34:27 2013 for Netzer by  doxygen 1.5.5