*output<< debug_color<< buffer<< normal_color<< std::flush;} char const *GetColor(char const *c) { char *sdh_no_color=getenv("SDH_NO_COLOR");if(sdh_no_color !=NULL) return "";char *os=getenv("OS");char *ostype=getenv("OSTYPE");if(os &&(!strncmp(os, "WIN", 3)||!strncmp(os, "Win", 3)) &&(! ostype||(ostype &&strcmp(ostype, "cygwin")))) return "";if(!strcmp(c, "normal")) return "\x1b[0m";if(!strcmp(c, "bold")) return "\x1b[1m";if(!strcmp(c, "red")) return "\x1b[31m";if(!strcmp(c, "green")) return "\x1b[32m";if(!strcmp(c, "yellow")) return "\x1b[33m";if(!strcmp(c, "blue")) return "\x1b[34m";if(!strcmp(c, "magenta")) return "\x1b[35m";if(!strcmp(c, "cyan")) return "\x1b[36m";if(!strcmp(c, "white")) return "\x1b[37m";if(!strcmp(c, "black")) return "\x1b[39m";if(!strcmp(c, "black_back")) return "\x1b[40m";if(!strcmp(c, "red_back")) return "\x1b[41m";if(!strcmp(c, "green_back")) return "\x1b[42m";if(!strcmp(c, "yellow_back")) return "\x1b[43m";if(!strcmp(c, "blue_back")) return "\x1b[44m";if(!strcmp(c, "cyan_back")) return "\x1b[45m";if(!strcmp(c, "magenta_back")) return "\x1b[46m";if(!strcmp(c, "white_back")) return "\x1b[47m";return "";} template< typename T > cDBG & operator<<(T const &v)
VCC_EXPORT std::ostream & operator<<(std::ostream &stream, cHexByteString const &s)
output the bytes in s to stream as a list of space separated hex bytes (without 0x prefix)