18#include <OgreString.h>
51 const unsigned int start,
const unsigned int length
65 const Ogre::String &path,
const void* buffer,
const unsigned int length
79 const Ogre::String &path,
const void* buffer,
const unsigned int length
Static class which allows filesystem manipulation.
Definition: FileSystem.h:23
static bool WriteNewFile(const Ogre::String &path, const void *buffer, const unsigned int length)
Writes the contents of a buffer to new a file.
Definition: FileSystem.cpp:62
static bool ReadFile(const Ogre::String &path, void *buffer, const unsigned int start, const unsigned int length)
Reads a file contents and saves them to a buffer.
Definition: FileSystem.cpp:33
static bool RemoveFile(const Ogre::String &path)
Deletes a file.
Definition: FileSystem.cpp:69
static unsigned int GetFileSize(const Ogre::String &path)
Retrieves a file size.
Definition: FileSystem.cpp:20
static bool WriteFile(const Ogre::String &path, const void *buffer, const unsigned int length)
Writes the contents of a buffer to a file.
Definition: FileSystem.cpp:52
FileSystem()=delete
Destructor.
Ogre::String String
Definition: TypeDefine.h:37