[Issue 21843] std.format could support %{x,X} for ubyte[]
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 19 15:52:25 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21843
Berni44 <bugzilla at bernis-buecher.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at bernis-buecher.de
--- Comment #1 from Berni44 <bugzilla at bernis-buecher.de> ---
You can use
writefln!"%(%02X%)"(data);
to get the desired result. (But %X might be useful as a shortcut, so leaving
this open.)
--
More information about the Digitalmars-d-bugs
mailing list