library/src/utility/BP-StringUtilities.cc
// checks if a string is ascii hex only
checks if a string is ascii hex only
checks if a string is ascii hex only
BP_BOOL BP_StringIsAsciiHex(char *str_value)
{
	if(!BP_StringIsReasonablePrintableString(str_value, bpstrlen(str_value), BP_FALSE, BP_FALSE))
		return BP_FALSE;
	size_t str_len = bpstrlen(str_value);
	return BP_TRUE;
}
BP_BOOL BP_StringIsAsciiHex ( char * str_value ) { if ( ! BP_StringIsReasonablePrintableString ( str_value , bpstrlen ( str_value ) , BP_FALSE , BP_FALSE ) ) return BP_FALSE ; size_t str_len = bpstrlen ( str_value ) ; return BP_TRUE ; }
checks if a string is ascii hex only
checks if a string is ascii hex only
// ensure string is reasonable/printable // string value // return indicating success