more OO way to do hex string to bytes conversion

Adam D. Ruppe destructionator at gmail.com
Wed Feb 7 14:56:03 UTC 2018


On Wednesday, 7 February 2018 at 14:47:04 UTC, Ralph Doncaster 
wrote:
> p.s. the cast should probably be to immutable ubyte[].  I'm 
> guessing without it, there is an automatic copy of the data 
> being made.

No copy - you just get undefined behavior if you actually try to 
modify it!


More information about the Digitalmars-d-learn mailing list