Function Blam::Converters::HexStringToChar¶
Defined in File converters.h
Function Documentation¶
-
bool
Blam::Converters::HexStringToChar(std::string hex, char *character)¶ Converts a hexadecimal code to its respective character.
This is used to evaluate a hex code representing a byte to its equivalent
char.- Return
trueif the character was converted successfully,falseif an error occurred.- Parameters
hex: - The string containing the hexadecimal representation of a character.character: - Pointer to thecharto set to the evaluated character.