Wraps ArvadosFile in a file-like object supporting reading only.
Be aware that this class is NOT thread safe as there is no locking
around updating file pointer.
|
|
|
|
|
|
|
|
|
read(self,
size=None,
num_retries=None)
Read up to `size` bytes from the file and return the result. |
source code
|
|
|
readfrom(self,
offset,
size,
num_retries=None)
Read up to `size` bytes from the stream, starting at the specified
file offset. |
source code
|
|
|
|
Inherited from ArvadosFileReaderBase :
__iter__ ,
decompress ,
decompressed_name ,
readable ,
readall ,
readall_decompressed ,
readline ,
readlines ,
seek ,
seekable ,
tell ,
writable
Inherited from _FileLikeObjectBase :
__enter__ ,
__exit__ ,
close
|