public static DataBuffer peek(File file, int bufferIndex) throws IOException {
		LocalBufferFile bf = new LocalBufferFile(file, false);
		try {
			DataBuffer buf = new DataBuffer(bf.getBufferSize());
			bf.get(buf, bufferIndex);
			return buf;
		}
		finally {
			bf.close();
		}
	}
Read a buffer from an existing buffer file.
@param file block file
@param bufferIndex the index from which to read the buffer
@return the buffer
@throws IOException if an I/O error occurs
Ghidra/Framework/DB/src/main/java/db/buffers/LocalBufferFile.java