readText with added null-terminator that enables sentinel-based search

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 8 13:48:39 PDT 2017


Has anybody written a wrapper around `std.file.readText` (or 
similar) that appends a final zero-byte terminator in order to 
realize sentinel-based search in textual parsers.


More information about the Digitalmars-d-learn mailing list