def FetchWindow(self, number_of_chunks_to_readahead):
    for _ in range(number_of_chunks_to_readahead):

      # Do not read past the end of file
      if self.state.current_chunk_number > self.state.max_chunk_number:
        return

      request = rdf_client.BufferReference(
          pathspec=self.args.pathspec,
          offset=self.state.current_chunk_number * self.CHUNK_SIZE,
          length=self.CHUNK_SIZE)
      self.CallClient("TransferBuffer", request, next_state="ReadBuffer")
      self.state.current_chunk_number += 1
Returns a PrettyTable representation of the provided apps.
dataset/ETHPy150Open google/grr/grr/lib/flows/general/transfer.py/GetFile.FetchWindow--crossover with--dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/tables.py/app_table