'Read ahead a number of buffers to fill the window.'

def FetchWindow(self, number_of_chunks_to_readahead):

    for _ in range(number_of_chunks_to_readahead):
        next_offset = (self.state.current_chunk_number * self.CHUNK_SIZE)
        if (next_offset >= self.state.file_size):
            return
        request = rdf_client.BufferReference(pathspec=self.args.pathspec, offset=next_offset, length=self.CHUNK_SIZE)
        self.CallClient(server_stubs.TransferBuffer, request, next_state='ReadBuffer')
        self.state.current_chunk_number += 1
