Class RarCRC

java.lang.Object
com.github.junrar.crc.RarCRC

public class RarCRC extends Object
DOCUMENT ME
Version:
$LastChangedRevision$
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int[]
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    checkCrc(int startCrc, byte[] data, int offset, int count)
     
    static short
    checkOldCrc(short startCrc, byte[] data, int count)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • crcTab

      private static final int[] crcTab
  • Constructor Details

    • RarCRC

      private RarCRC()
  • Method Details

    • checkCrc

      public static int checkCrc(int startCrc, byte[] data, int offset, int count)
    • checkOldCrc

      public static short checkOldCrc(short startCrc, byte[] data, int count)