public interface SdkChecksum extends Checksum
Checksum
to support checksums and checksum validations used by the SDK that
are not provided by the JDK.Modifier and Type | Method and Description |
---|---|
byte[] |
getChecksumBytes()
Returns the computed checksum in a byte array rather than the long provided by
Checksum.getValue() . |
void |
mark(int readLimit)
Allows marking a checksum for checksums that support the ability to mark and reset.
|
byte[] getChecksumBytes()
Checksum.getValue()
.void mark(int readLimit)
readLimit
- the maximum limit of bytes that can be read before the mark position becomes invalid.Copyright © 2020. All rights reserved.