public final class HashingInputStream extends WrappedInputStream
in| 构造器和说明 |
|---|
HashingInputStream(StreamingHasher hasher,
InputStream in)
Creates an input stream that hashes using the given
StreamingHasher and delegates all data
read from it to the underlying InputStream. |
public HashingInputStream(StreamingHasher hasher, InputStream in)
StreamingHasher and delegates all data
read from it to the underlying InputStream.
The InputStream should not be read from before or after the hand-off.
Copyright © 2022. All rights reserved.