类 FastByteArrayOutputStream.UpdateMessageDigestInputStream
java.lang.Object
java.io.InputStream
cn.taketoday.util.FastByteArrayOutputStream.UpdateMessageDigestInputStream
- 所有已实现的接口:
Closeable,AutoCloseable
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidupdateMessageDigest(MessageDigest messageDigest) Update the message digest with the rest of the bytes in this stream.voidupdateMessageDigest(MessageDigest messageDigest, int len) Update the message digest with the next len bytes in this stream.从类继承的方法 java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
构造器详细资料
-
UpdateMessageDigestInputStream
UpdateMessageDigestInputStream()
-
-
方法详细资料
-
updateMessageDigest
Update the message digest with the rest of the bytes in this stream.Using this method is more optimized since it avoids creating new byte arrays for each call.
- 参数:
messageDigest- the message digest to update- 抛出:
IOException- when propagated fromInputStream.read()
-
updateMessageDigest
Update the message digest with the next len bytes in this stream.Using this method is more optimized since it avoids creating new byte arrays for each call.
- 参数:
messageDigest- the message digest to updatelen- how many bytes to read from this stream and use to update the message digest- 抛出:
IOException- when propagated fromInputStream.read()
-