@Override
	public void write(byte[] byteArray, int off, int len) {
		int newcount = bytecnt + len;
		if (newcount > out.length) {
			out = Arrays.copyOf(out, Math.max(out.length << 1, newcount));
		}
		System.arraycopy(byteArray, off, out, bytecnt, len);
		bytecnt = newcount;
	}
Dump an array of bytes to the packed byte stream
@param byteArray is the byte array
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PackedBytes.java