Class CRC32
- java.lang.Object
-
- software.amazon.awssdk.crt.checksums.CRC32
-
-
Constructor Summary
Constructors Constructor Description CRC32()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()longgetValue()Returns the current checksum value.voidreset()Resets the checksum to its initial value.voidupdate(byte[] b)Updates the current checksum with the specified array of bytes.voidupdate(byte[] b, int off, int len)Updates the current checksum with the specified array of bytes.voidupdate(int b)Updates the current checksum with the specified byte.
-
-
-
Method Detail
-
clone
public Object clone()
-
getValue
public long getValue()
Returns the current checksum value.
-
reset
public void reset()
Resets the checksum to its initial value.
-
update
public void update(byte[] b, int off, int len)Updates the current checksum with the specified array of bytes.
-
update
public void update(byte[] b)
Updates the current checksum with the specified array of bytes.- Parameters:
b- the byte array to update the checksum with
-
-