The OpenD Programming Language

toFile

Writes an array or range to a file. Shorthand for data.copy(File(fileName, "wb").lockingBinaryWriter). Similar to std.file.write, strings are written as-is, rather than encoded according to the File's orientation.

void
toFile
(
T
)
(,
string fileName
)

Meta