Package peppy :: Package lib :: Module bufferedreader :: Class BufferedReplacementReader
[frames] | no frames]

Class BufferedReplacementReader

object --+
         |
        BufferedReplacementReader
Known Subclasses:

Buffered file-like object wrapper that replaces the first n bytes of the file with the specified buffer. The remainder of the file is unchanged.

Instance Methods
 
__init__(self, fh, buffer)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
seek(self, pos, whence=0)
 
tell(self)
 
read(self, size=None)
 
close(self)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, fh, buffer)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)