On 8/2/17 8:59 AM, Martin Drašar via Digitalmars-d-learn wrote:

Thanks Steven for the explanation. Just to clarify - what would be
needed to avoid auto-decoding in this case? Process it all as an arrays,
using byChunk to read it, etc?


As Daniel said, using byCodeUnit will help.

I don't know what the result of this is when outputting, however. I'd be concerned it just integer promoted the data to dchars before outputting. If your file data is all ASCII it should work fine. You'd have to experiment to see how it works.

-Steve

Reply via email to