def read(self, size=None):
    if not self._database_object:
      raise IOError(u'Not opened.')

    if self._current_offset < 0:
      raise IOError(u'Invalid offset value out of bounds.')

    if size == 0 or self._current_offset >= self._size:
      return b''

    if size is None:
      size = self._size
    if self._current_offset + size > self._size:
      size = self._size - self._current_offset

    start_offset = self._current_offset
    self._current_offset += size
    return self._blob[start_offset:self._current_offset]
A simple non-recursive ``walk`` function to collect files with a given extension.
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/file_io/sqlite_blob_file_io.py/SQLiteBlobFile.read--crossover with--dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/modules/fileutils.py/walk