Class SdkCrc32Checksum
- java.lang.Object
-
- software.amazon.awssdk.checksums.internal.SdkCrc32Checksum
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SdkCrc32Checksumclone()static longcombine(Long crcPairOne, Long crcPair, long originalLengthOfCrc32)Combines two CRC32 values into a single CRC using the specified combine matrices.static SdkCrc32Checksumcreate()longgetValue()voidreset()voidupdate(byte[] b, int offset, int len)voidupdate(int b)
-
-
-
Method Detail
-
create
public static SdkCrc32Checksum create()
-
combine
public static long combine(Long crcPairOne, Long crcPair, long originalLengthOfCrc32)
Combines two CRC32 values into a single CRC using the specified combine matrices. Please referCrcCombineChecksumUtil.combine(long, long, long, long[][])- Parameters:
crcPair- A pair of CRC values to combine.originalLengthOfCrc32- The length of the original data.- Returns:
- The combined CRC value.
-
update
public void update(byte[] b, int offset, int len)
-
clone
public SdkCrc32Checksum clone()
-
-