Package ghidra.util

Class HashingOutputStream

java.lang.Object
java.io.OutputStream
ghidra.util.HashingOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class HashingOutputStream extends OutputStream
A filtering OutputStream that calculates the hash of the bytes being written.

Call getDigest() to retrieve the hash value bytes.