def Read(self, length):
    result = ""

    # The total available size in the file
    length = int(length)
    length = min(length, self.size - self.offset)

    while length > 0:
      data = self._ReadPartial(length)
      if not data:
        break

      length -= len(data)
      result += data
    return result
Read a block of data from the file.
dataset/ETHPy150Open google/grr/grr/lib/aff4.py/AFF4ImageBase.Read