Class CRC64NVME
java.lang.Object
software.amazon.awssdk.crt.checksums.CRC64NVME
CRT implementation of the Java Checksum interface for making CRC64NVME checksum calculations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()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.
-
Constructor Details
-
CRC64NVME
public CRC64NVME()Default constructor
-
-
Method Details
-
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
-
update
public void update(int b) Updates the current checksum with the specified byte.
-