(self, size, read_method)
return result
Read size bytes using read_method.
Read size bytes using read_method.
Read size bytes using read_method .
def _read(self, size, read_method):
        """Read size bytes using read_method."""
        if size is None:
            size = -1
        self._file.seek(self._pos)
        result = read_method(size)
        self._pos = self._file.tell()
        return result
def _read ( self , size , read_method ) : if size is None : size = - 1 self . _file . seek ( self . _pos ) result = read_method ( size ) self . _pos = self . _file . tell ( ) return result