String created from buffer has wrong length and strip() result is incorrect
thedeemon via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Oct 17 00:31:34 PDT 2014
>You fill first few chars with data from
> ATA_STR but the rest 10 bytes of the array are still part of
> the string
Edit: you fill first 5 chars and have 11 bytes of zeroes in the
tail. My counting skill is too bad. ;)
More information about the Digitalmars-d-learn
mailing list