company logo

Binary :: storeFile - Store binary data to file

The function stores data from the binary data block to a file.

Implementation details

Binary  :: storeFile ( odaba::String &sFilePath )

The function writes the the data from the binary data block to the file passed in sFilePath. The directory referenced in the file path has to exist, but the file need not. When the file does already exist, it will be overwritten.

In case of an error writing to file the function throws an exception.

  • sFilePath - Complete file path