/* * Oreka -- A media capture and retrieval platform * * Copyright (C) 2005, orecx LLC * * http://www.orecx.com * * This program is free software, distributed under the terms of * the GNU General Public License. * Please refer to http://www.gnu.org/copyleft/gpl.html * */ #include "ace/OS_NS_stdio.h" #include "ace/OS_NS_stdlib.h" #include "ace/OS_NS_strings.h" #include "ace/OS_NS_ctype.h" #include "MemUtils.h" // Convert a piece of memory to hex string void MemToHex(unsigned char* input, size_t len, CStdString&output) { char byteAsHex[10]; for(unsigned int i=0; i