Regarding the proposed Binray Literals Deprecation

rikki cattermole rikki at cattermole.co.nz
Mon Sep 12 18:34:04 UTC 2022


On 13/09/2022 6:19 AM, rikki cattermole wrote:
> Keep in mind that hex strings use case is not for string data. It is a 
> method of getting a whole load of raw bytes directly into the binary 
> which can be cast to the appropriate type before usage (i.e. struct).

The example I used for bin2d[0] was shared library dependencies that get 
extracted out at runtime. It generated hex strings for the file contents.

https://github.com/rikkimax/Bin2D


More information about the Digitalmars-d mailing list