Corresponding class for Windows platform is here.
Corresponding class for Linux platform is here.
Implementation of the IFile interface for Android platform.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class CFile :public virtual IFile
{
public:
String getFilename() override;
long long getSize() override;
long long getPointer() override;
bool setPointer(const long long value, const SEEK_FROM seek_from) override;
bool Read(const unsigned int size, unsigned char *buffer, unsigned long &read) override;
bool Write(const unsigned int size, unsigned char *buffer, unsigned long &written) override;
void Release() override;
CFile(FILE *file, const String &filename);
CFile(AAsset *asset, const String &filename);
};
Namespace: | nitisa::standard::android |
Include: | Standard/Platform/Android/File.h |