Function Blam::Converters::HexStringToChar

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

true if the character was converted successfully, false if an error occurred.

Parameters
  • hex: - The string containing the hexadecimal representation of a character.

  • character: - Pointer to the char to set to the evaluated character.