Scaleform::FileConstants Scaleform::File Scaleform::MemoryFile
class MemoryFile : public File;
Memory file.
|
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. | |
|
Closes the file. After close, file cannot be accessed. | |
|
Appends another file data from a stream. | |
|
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 file is usable (open). | |
|
Determines whether file is writeable. | |
|
Overridden method. Returns the length of the file. | |
|
Overrridden method. Sets file position indicator. | |
|
Overridden method, returns the current position in the file. | |
|
MemoryFile constructor. | |
|
Blocking read, will read in the given number of bytes or less from the stream. | |
|
Sets file position indicator. | |
|
Skips (ignores) a given number of bytes. | |
|
Returns the current position in the file. | |
|
Write in the given number of bytes or less to the stream. |
SF_File.h