On Monday, 27 March 2023 at 18:33:46 UTC, novice2 wrote:
https://run.dlang.io/is/JP01aZ``` void main(){ import std.stdio: writeln; import std.format: format;ubyte[] a = [159, 199, 22, 163, 13, 74, 145, 73, 158, 112, 7, 192, 12, 193, 7, 194];string b = format("%(%.2X%)",a); writeln(b); } ```
Yes, the same result. I probably didn't write my post quite correctly. I mean get the UUID data type itself. Just using [this example](https://dlang.org/phobos/std_uuid.html#.UUID) `cast(ubyte[16])ubyte[]` will not work, conversion error.
