A convenience function that writes an entire buffer to a file in a single method call.
The method will first open for writing the file specified by filePath, the will call Defile.write to completely write buffer to the file.
The relative path to the file in the virtual file system.
The bytes that will be written to the file.
The number of bytes written, which should equal buffer.length.
DefileException if an error occurs.
See Implementation
A convenience function that writes an entire buffer to a file in a single method call.
The method will first open for writing the file specified by filePath, the will call Defile.write to completely write buffer to the file.