I offer a fake asynchronous wrapper around a synchronous file. I'm not
thread-safe, I should only be used to read small blocks from a local file
system and I don't support cloning.
|
|
|
|
|
|
|
long
|
|
|
int
|
|
|
long
|
tell(self)
Returns:
the current read/write position in the file |
source code
|
|
|
|
seek(self,
offset)
Moves the reading/writing position inside the file. |
source code
|
|
|
|
read(self,
size)
Reads the specified amount of data asynchronously. |
source code
|
|
|
|
|
|
|
|
|
dict
|
|
|
Inherited from fileprovider.File:
getMimeType
Inherited from extern.log.log.Loggable:
__providedBy__,
__provides__,
debug,
doLog,
error,
info,
log,
logFunction,
logObjectName,
warning,
warningFailure,
writeMarker
|