Scaleform::FileConstants Scaleform::File
class File : public RefCountBase<File, Stat_Default_Mem>, public FileConstants;
File is a pure virtual base class for random access files.
Method |
Description |
Returns the number of bytes available to read from a stream without blocking. For a file, this should generally be number of bytes till the end. | |
Resizes the size of the file. | |
Appends another file data from a stream. | |
Closes the file. After close, file cannot be accessed. | |
File constructor. | |
Causes any implementation's buffered data to be delivered to destination. | |
Return errno-based error code. Useful if any other function failed. | |
Returns a file name path relative to the 'reference' directory. This is often a path that was used to create a file (this is not a global path, global path can be obtained with help of directory). | |
Returns the size of the file. | |
Determines whether the end of file is reached or not. | |
Determines whether file is usable (open). | |
Determines whether file is writeable. | |
Overridden method. Returns the length of the file. | |
Overridden method, returns the current position in the file. | |
Blocking read, will read in the given number of bytes or less from the stream. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Reading primitive types - Little Endian. | |
Reading primitive types - Big Endian. | |
Seek the position from the beginning of the file. | |
Seek the position from the beginning to the end of the file. | |
Overrridden method. Sets file position indicator. | |
Seek simplification. | |
Skips (ignores) a given number of bytes. | |
Sets file position indicator. | |
Returns the current position in the file. | |
Write in the given number of bytes or less to the stream. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. | |
| |
Writing primitive types - Little Endian. | |
| |
Writing primitive types - Big Endian. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. | |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. |
Topic |
Description |
Writing primitive types - Little Endian. | |
Writing primitive types - Big Endian. |
SF_File.h