Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XBMCAddon::xbmcvfs::File Class Reference

#include <File.h>

Inheritance diagram for XBMCAddon::xbmcvfs::File:
XBMCAddon::AddonClass

Public Member Functions

 File (const String &filepath, const char *mode=NULL)
 
 ~File () override
 
 read (...)
 

Function: read([bytes])


Read file parts as string.
 
 readBytes (...)
 

Function: readBytes(numbytes)


Read bytes from file.
 
 write (...)
 

Function: write(buffer)


To write given data in file.
 
 size ()
 

Function: size()


Get the file size.
 
 seek (...)
 

Function: seek(seekBytes, iWhence)


Seek to position in file.
 
 tell ()
 

Function: tell()


Get the current position in the file.
 
 close ()
 

Function: close()


Close opened file.
 
const XFILE::CFilegetFile () const
 
- Public Member Functions inherited from XBMCAddon::AddonClass
 AddonClass ()
 
virtual ~AddonClass ()
 
const char * GetClassname () const
 
LanguageHookGetLanguageHook ()
 
bool isDeallocating ()
 
void Release () const
 
void Acquire () const
 

Additional Inherited Members

- Static Public Member Functions inherited from XBMCAddon::AddonClass
static short getNumAddonClasses ()
 
- Protected Member Functions inherited from XBMCAddon::AddonClass
virtual void deallocating ()
 
- Static Protected Member Functions inherited from XBMCAddon::AddonClass
static short getNextClassIndex ()
 
- Protected Attributes inherited from XBMCAddon::AddonClass
LanguageHooklanguageHook
 

The documentation for this class was generated from the following files: