class Bytex { char hexVal[2]; char byteVal; char digitToHexChar(unsigned int digit); int hexCharToNum(char hexChar); void byteValToHex(); void hexValToByte(); public: Bytex(); Bytex(char byteVal); Bytex(const char* hexVal); char getByte() const; void getHex(char* output) const; };