CRC32


CRC32 java.util.zip

Java 1.1

This class implements the Checksum interface and computes a checksum on a stream of data using the CRC-32 algorithm. The CheckedInputStream and CheckedOutputStream classes provide a higher-level interface to computing checksums on streams of data.

Figure 16-137. java.util.zip.CRC32

 public class  CRC32  implements Checksum {  // Public Constructors  public  CRC32  ( );  // Public Instance Methods  public void  update  (byte[ ]  b  );  // Methods Implementing Checksum  public long  getValue  ( );  default:0  public void  reset  ( );        public void  update  (int  b  );        public void  update  (byte[ ]  b  , int  off  , int  len  );   } 

Type Of

GZIPInputStream.crc , GZIPOutputStream.crc



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net