CatapultServer  v0.5.0.1 (Elephant)
HexParser.h File Reference
Include dependency graph for HexParser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::utils
 

Functions

uint8_t catapult::utils::ParseByte (char ch1, char ch2)
 Parses two characters (ch1 and ch2) into a byte. More...
 
bool catapult::utils::TryParseByte (char ch1, char ch2, uint8_t &by)
 Tries to parse two characters (ch1 and ch2) into a byte (by). More...
 
template<typename TContainer >
bool catapult::utils::TryParseHexStringIntoContainer (const char *const pHexData, size_t dataSize, TContainer &outputContainer)
 Tries to parse a hex string (pHexData with size dataSize) into outputContainer. More...
 
template<typename TContainer >
void catapult::utils::ParseHexStringIntoContainer (const char *const pHexData, size_t dataSize, TContainer &outputContainer)
 Parses a hex string (pHexData with size dataSize) into outputContainer. More...
 
template<typename TByteArray >
TByteArray catapult::utils::ParseByteArray (const std::string &hexString)
 Parses a hex string (hexString) into a byte array. More...