io.BufferedRandom
¶
-
class
io.
BufferedRandom
¶ A buffered interface to random access streams.
The constructor creates a reader and writer for a seekable stream, raw, given in the first argument. If the buffer_size is omitted it defaults to DEFAULT_BUFFER_SIZE. max_buffer_size isn’t used anymore.
Methods¶
__enter__ |
|
__exit__ |
|
__format__ |
default object formatter |
__new__ ((S, ...) |
|
__reduce__ |
helper for pickle |
__reduce_ex__ |
helper for pickle |
__sizeof__ |
|
__subclasshook__ |
Abstract classes can override this to customize issubclass(). |
_checkClosed |
|
_checkReadable |
|
_checkSeekable |
|
_checkWritable |
|
close |
|
detach |
|
fileno |
|
flush |
|
isatty |
|
peek |
|
read |
|
read1 |
|
readable |
|
readinto |
|
readline |
|
readlines |
Return a list of lines from the stream. |
seek |
|
seekable |
|
tell |
|
truncate |
|
writable |
|
write |
|
writelines |