'Read size bytes using read_method.'

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
