Class CrcCloneOnMarkChecksum

java.lang.Object
software.amazon.awssdk.checksums.internal.BaseCrcChecksum
software.amazon.awssdk.checksums.internal.CrcCloneOnMarkChecksum
All Implemented Interfaces:
Checksum, SdkChecksum

public final class CrcCloneOnMarkChecksum extends BaseCrcChecksum
Class that provides functionality for combining CRC checksums with mark and reset capabilities.

This class is intended for use with checksums that do not provide a cloneable method. It uses combine methods to handle mark and reset operations efficiently.

  • Constructor Details

    • CrcCloneOnMarkChecksum

      public CrcCloneOnMarkChecksum(Checksum checksum)
  • Method Details

    • getChecksumBytes

      public byte[] getChecksumBytes()
      Description copied from interface: SdkChecksum
      Returns the computed checksum in a byte array rather than the long provided by Checksum.getValue().
      Returns:
      byte[] containing the checksum