MythTV master
|
Public Member Functions | |
None | __init__ (self, str filepath, Optional[str] mode=None) |
'File' | __enter__ (self) |
def | __exit__ (self, exc_type, exc_val, exc_tb) |
str | read (self, int numBytes=0) |
bytearray | readBytes (self, int numBytes=0) |
bool | write (self, Union[str, bytes, bytearray] buffer) |
int | size (self) |
int | seek (self, int seekBytes, int iWhence=0) |
int | tell (self) |
None | close (self) |
Public Attributes | |
filename | |
fh | |
Definition at line 10 of file xbmcvfs.py.
None xbmcvfs.File.__init__ | ( | self, | |
str | filepath, | ||
Optional[str] | mode = None |
||
) |
Definition at line 12 of file xbmcvfs.py.
'File' xbmcvfs.File.__enter__ | ( | self | ) |
Definition at line 19 of file xbmcvfs.py.
def xbmcvfs.File.__exit__ | ( | self, | |
exc_type, | |||
exc_val, | |||
exc_tb | |||
) |
Definition at line 22 of file xbmcvfs.py.
None xbmcvfs.File.close | ( | self | ) |
Definition at line 47 of file xbmcvfs.py.
Referenced by xbmcvfs.File.close().
str xbmcvfs.File.read | ( | self, | |
int | numBytes = 0 |
||
) |
Reimplemented in embedlrc.BinaryFile.
Definition at line 25 of file xbmcvfs.py.
Referenced by xbmcvfs.File.readBytes().
bytearray xbmcvfs.File.readBytes | ( | self, | |
int | numBytes = 0 |
||
) |
Definition at line 30 of file xbmcvfs.py.
Referenced by embedlrc.BinaryFile.read().
int xbmcvfs.File.seek | ( | self, | |
int | seekBytes, | ||
int | iWhence = 0 |
||
) |
Definition at line 41 of file xbmcvfs.py.
Referenced by xbmcvfs.File.seek().
int xbmcvfs.File.size | ( | self | ) |
Definition at line 38 of file xbmcvfs.py.
Referenced by mythburn.FontDef.drawText(), and mythburn.FontDef.getFont().
int xbmcvfs.File.tell | ( | self | ) |
Definition at line 44 of file xbmcvfs.py.
Referenced by xbmcvfs.File.tell().
bool xbmcvfs.File.write | ( | self, | |
Union[str, bytes, bytearray] | buffer | ||
) |
Definition at line 35 of file xbmcvfs.py.
Referenced by xbmcvfs.File.write().
xbmcvfs.File.fh |
Definition at line 15 of file xbmcvfs.py.
Referenced by xbmcvfs.File.close(), xbmcvfs.File.readBytes(), xbmcvfs.File.seek(), xbmcvfs.File.tell(), and xbmcvfs.File.write().
xbmcvfs.File.filename |
Definition at line 13 of file xbmcvfs.py.
Referenced by hardwareprofile.os_detect.OSWithFile.__get__(), and hardwareprofile.os_detect.OSWithFile.do_test().