Interface specification for writers to be used with recordrecords module.
FileReader defines a reader with position and efficient seek/position
determining. All reads occur at current position.
def google.appengine.api.files.records.FileReader.read |
( |
|
self, |
|
|
|
size |
|
) |
| |
Read data from file.
Reads data from current position and advances position past the read data
block.
Args:
size: number of bytes to read.
Returns:
iterable over bytes. If number of bytes read is less then 'size' argument,
it is assumed that end of file was reached.
def google.appengine.api.files.records.FileReader.tell |
( |
|
self | ) |
|
Get current file position.
Returns:
current position as a byte offset in the file as integer.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/api/files/records.py