[your code here] minimal hex viewer

Seb seb at wilzba.ch
Thu Jan 4 00:54:12 UTC 2018


On Thursday, 4 January 2018 at 00:35:56 UTC, H. S. Teoh wrote:
> On Thu, Jan 04, 2018 at 12:25:59AM +0000, Justin Whear via 
> Digitalmars-d wrote:
>> // Reads bytes from stdin and writes a hexadecimal view like a 
>> no-frills
>> xxd.
>> // All the actual formatting work is done by format's sweet 
>> range syntax
>
> Mmm, I like this!  Care to submit a PR for this in the 
> dlang.org repo?

@Justin: Thanks a lot for your suggestion, but don't we already 
have a "Print hex dump" example on dlang.org?



More information about the Digitalmars-d mailing list