Convert binary to UUID from LDAP

Kagamin spam at here.lot
Tue Mar 28 13:18:59 UTC 2023


This guid is (int,short,short,byte[8]) in little endian byte 
order. So if you want to convert it to big endian, you'll need to 
swap bytes in those int and two shorts.
```
ubyte[] guid=...
int* g1=cast(int*)guid.ptr;
*g1=bswap(*g1);
```


More information about the Digitalmars-d-learn mailing list