12 inline operator const char * ()
const {
return m_data;}
25 void print_hex_raw(
const void * buffer,
unsigned bytes,
char * p_out);
27 inline GUID makeGUID(
t_uint32 Data1,
t_uint16 Data2,
t_uint16 Data3,
t_uint8 Data4_1,
t_uint8 Data4_2,
t_uint8 Data4_3,
t_uint8 Data4_4,
t_uint8 Data4_5,
t_uint8 Data4_6,
t_uint8 Data4_7,
t_uint8 Data4_8) {
28 GUID guid = { Data1, Data2, Data3, {Data4_1, Data4_2, Data4_3, Data4_4, Data4_5, Data4_6, Data4_7, Data4_8 } };
39 for(
int n = 1; n < 8; ++n) {
GUID makeGUID(t_uint32 Data1, t_uint16 Data2, t_uint16 Data3, t_uint8 Data4_1, t_uint8 Data4_2, t_uint8 Data4_3, t_uint8 Data4_4, t_uint8 Data4_5, t_uint8 Data4_6, t_uint8 Data4_7, t_uint8 Data4_8)
GUID GUID_from_text(const char *text)
GUID xorGUID(const GUID &v1, const GUID &v2)
print_guid(const GUID &p_guid)
int guid_compare(const GUID &g1, const GUID &g2)
static void memxor(void *target, const void *source1, const void *source2, t_size size)
string8_fastalloc string_formatter
bool guid_equal(const GUID &g1, const GUID &g2)
int compare_t< GUID, GUID >(const GUID &p_item1, const GUID &p_item2)
void print_hex_raw(const void *buffer, unsigned bytes, char *p_out)