Class SdkCrc32CChecksum
java.lang.Object
software.amazon.awssdk.checksums.internal.SdkCrc32CChecksum
-
Method Summary
Modifier and TypeMethodDescriptionclone()static longcombine(long crc1, long crc2, long originalLengthOfCrc2) Combines the CRCs of two parts.Please referCrcCombineChecksumUtil.combine(long, long, long, long[][])static SdkCrc32CChecksumcreate()longgetValue()voidreset()voidupdate(byte[] b, int off, int len) voidupdate(int b)
-
Method Details
-
create
-
combine
public static long combine(long crc1, long crc2, long originalLengthOfCrc2) Combines the CRCs of two parts.Please referCrcCombineChecksumUtil.combine(long, long, long, long[][])- Parameters:
crc1- The CRC of the first part.crc2- The CRC of the second part.originalLengthOfCrc2- The length of the second part's CRC before combining.- Returns:
- The combined CRC.
-
getValue
public long getValue() -
reset
public void reset() -
update
public void update(byte[] b, int off, int len) -
update
public void update(int b) -
clone
-