5#ifndef __I_WRITE_FILE_H_INCLUDED__
6#define __I_WRITE_FILE_H_INCLUDED__
32 virtual bool seek(
long finalPos,
bool relativeMovement =
false) = 0;
IReferenceCounted()
Constructor.
Interface providing write access to a file.
virtual long getPos() const =0
Get the current position in the file.
virtual s32 write(const void *buffer, u32 sizeToWrite)=0
Writes an amount of bytes to the file.
virtual bool seek(long finalPos, bool relativeMovement=false)=0
Changes position in file.
virtual const path & getFileName() const =0
Get name of file.
This namespace provides interfaces for input/output: Reading and writing files, accessing zip archive...
IWriteFile * createWriteFile(const io::path &fileName, bool append)
Internal function, please do not use.
core::string< fschar_t > path
Type used for all file system related strings.
Everything in the Irrlicht Engine can be found in this namespace.
unsigned int u32
32 bit unsigned variable.
signed int s32
32 bit signed variable.