Class CrcCloneOnMarkChecksum

  • All Implemented Interfaces:
    Checksum, SdkChecksum

    @SdkInternalApi
    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 Detail

      • CrcCloneOnMarkChecksum

        public CrcCloneOnMarkChecksum​(Checksum checksum)
    • Method Detail

      • 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