void checkTerminator(byte[] terminatorBytes) throws IOException {
		String term = new String(terminatorBytes);
		if (terminatorBytes.length != TERM_LENGTH) {
			throw new IllegalArgumentException("invalid terminatorBytes length");
		}
		if (!term.startsWith(TERM_PREFIX) || !term.endsWith(TERM_SUFFIX)) {
			throw new IOException("invalid block stream terminator");
		}
		String streamIdStr = term.substring(TERM_PREFIX.length(), TERM_PREFIX.length() + 16);
		try {
			if (streamID != Long.parseUnsignedLong(streamIdStr, 16)) {
				throw new IOException("invalid block stream terminator stream ID");
			}
		}
		catch (NumberFormatException e) {
			throw new IOException("invalid block stream terminator stream ID: " + streamIdStr);
		}
	}
Perform verification of termination footer bytes
@param terminatorBytes bytes read as stream terminator
@throws IOException
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/stream/RemoteBlockStreamHandle.java