private List<String> readChunk(long startByte) throws IOException {

		if (raf == null) {
			return Collections.<String> emptyList();
		}

		// Create a new chunk to represent the next set of lines we're viewing.
		Chunk chunk = new Chunk();

		List<String> lines = new ArrayList<>();

		// First put the file pointer at beginning of the next line after the start byte given,
		// to make sure we read a full line and not a partial one.
		long lineStart = getStartOfNextLine(startByte);
		raf.seek(lineStart);
		
		// And now start reading in lines.
		for (int i = 0; i < model.NUM_LINES; i++) {
			lineStart = raf.getFilePointer();
			String line = raf.readLine();
			if (line != null) {
				chunk.rowToFilePositionMap.put(i, new Pair(lineStart, raf.getFilePointer()-1));
				lines.add(line);
			}
		}

		// If we have a valid chunk, store some metadata and add it to the model.
		addChunkToModel(chunk, lines, startByte, raf.getFilePointer()-1, false);

		return lines;
	}
Reads a single chunk of data from the input file. The start point of the read is wherever
the {@link #raf} is currently pointing.

@param startByte the byte in the file at which to start reading.
@return the lines of text read
@throws IOException
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/model/ChunkReader.java