Class SdkCrc32CChecksum
java.lang.Object
software.amazon.awssdk.checksums.internal.SdkCrc32CChecksum
-
Method Summary
Modifier and TypeMethodDescriptionclone()
static long
combine
(long crc1, long crc2, long originalLengthOfCrc2) Combines the CRCs of two parts.Please referCrcCombineChecksumUtil.combine(long, long, long, long[][])
static SdkCrc32CChecksum
create()
long
getValue()
void
reset()
void
update
(byte[] b, int off, int len) void
update
(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
-
reset
-
update
-
update
-
clone
-