@Override
	public void close() throws IOException {
		try (OutputStream ostream = out) {
			ostream.flush();
		}
	}
@param out - OutputStream to wrap
@param hashAlgo - see {@link MessageDigest#getInstance(String)}, ie. "MD5".
@throws NoSuchAlgorithmException if no Provider supports a MessageDigestSpi implementation 
  for the specified algorithm
Ghidra/Framework/Utility/src/main/java/ghidra/util/HashingOutputStream.java