org.vorbis.tageditor.tools
Class OggCRC32

java.lang.Object
  extended by org.vorbis.tageditor.tools.OggCRC32

public class OggCRC32
extends java.lang.Object

Helper class for computing the CRC32 included in ogg pages.


Constructor Summary
OggCRC32()
           
 
Method Summary
static int checksum(byte[] b)
          Compute the CRC.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OggCRC32

public OggCRC32()
Method Detail

checksum

public static int checksum(byte[] b)
Compute the CRC.

Parameters:
b - the byte array on which we'll calculate the crc
Returns:
the crc value