protected ByteBuffer copyCsiBuffer(byte b) {
		csiParam.flip();
		csiInter.flip();
		ByteBuffer buf = ByteBuffer.allocate(2 + csiParam.remaining() + csiInter.remaining());
		buf.put((byte) '[');
		buf.put(csiParam);
		buf.put(csiInter);
		buf.put(b);
		csiParam.clear();
		csiInter.clear();
		return buf;
	}
Create a copy of the CSI buffers, reconstructed as they were in the original stream.

<p>
This is used to re-process parsed bytes after broken CSI sequence

@param b the character currently being parsed
@return the copy
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtParser.java