Sourceroot/file.d
Documentationhttps://dlang.org/phobos/dmd_root_file.html
Buffer;extractSlice();File;ReadResult;extractSlice();extractDataZ();read(const char[]name, ref OutBufferbuffer);bufferchar[]name | name of file |
OutBufferbuffer | file contents appended to it |
write(const(char)*name, const void[]data);write(const(char)[]name, const void[]data);remove(const(char)*name);update(const(char)*namez, const void[]data);update(const(char)[]name, const void[]data);const(char)[]name | name of file to update |
void[]data | updated contents of file |
size(const char*namez);char*namez | null-terminated filename |