Class CrcCloneOnMarkChecksum
java.lang.Object
software.amazon.awssdk.checksums.internal.BaseCrcChecksum
software.amazon.awssdk.checksums.internal.CrcCloneOnMarkChecksum
- All Implemented Interfaces:
Checksum
,SdkChecksum
Class that provides functionality for combining CRC checksums with mark and reset capabilities.
This class is intended for use with checksums that do not provide a cloneable method. It uses combine methods to handle mark and reset operations efficiently.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Returns the computed checksum in a byte array rather than the long provided byChecksum.getValue()
.Methods inherited from class software.amazon.awssdk.checksums.internal.BaseCrcChecksum
getChecksum, getValue, mark, reset, update, update
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.checksums.SdkChecksum
update, update
-
Constructor Details
-
CrcCloneOnMarkChecksum
-
-
Method Details
-
getChecksumBytes
public byte[] getChecksumBytes()Description copied from interface:SdkChecksum
Returns the computed checksum in a byte array rather than the long provided byChecksum.getValue()
.- Returns:
- byte[] containing the checksum
-