Class SdkCrc32CChecksum
- java.lang.Object
-
- software.amazon.awssdk.checksums.internal.SdkCrc32CChecksum
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SdkCrc32CChecksumclone()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 Detail
-
create
public static SdkCrc32CChecksum 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.
-
clone
public SdkCrc32CChecksum clone()
-
-