public synchronized List<String> readNextChunkFrom(long startByte) throws IOException {

		if (raf == null) {
			return Collections.<String> emptyList();
		}
		
		// move the pointer to the beginning of the line this byte position is in.
		long lineStart = getStartOfNextLine(startByte);
		raf.seek(lineStart);
			
		return readChunk(raf.getFilePointer());
	}
Reads a chunk of data from the given location in the file.  To ensure we're always reading
full lines, take the given start position and move forward to the next full line before
reading.

@param startByte the position to start reading from
@return the lines of text read
@throws IOException
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/model/ChunkReader.java