isValidHexString method
Implementation
bool isValidHexString(){
try{
HEX.decode(this);
}catch(e){
return false;
}
return true;
}
bool isValidHexString(){
try{
HEX.decode(this);
}catch(e){
return false;
}
return true;
}