Class RarCRC


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

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

      Constructors 
      Modifier Constructor Description
      private RarCRC()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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 java.lang.Object

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

      • crcTab

        private static final int[] crcTab
    • Constructor Detail

      • RarCRC

        private RarCRC()
    • Method Detail

      • checkCrc

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

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