API Overview
API Index
Package Overview
Direct link to this page
JDK 1.6
java.util.zip.
CRC32
View Source
Author(s)
David Connelly
Since
Version
1.32, 11/17/05
Serial
Hierarchy
Object
CRC32
Implements
Checksum
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
class CRC32
A class that can be used to compute the CRC-32 of a data stream.
A class that can be used to compute the CRC-32 of a data stream.
See also:
Checksum
Constructors
public
CRC32
()
Creates a new CRC32 object.
Methods
Hide/Show inherited methods
public
long
getValue
()
[Specified in
Checksum
]
Returns CRC-32 value.
public
void
reset
()
[Specified in
Checksum
]
Resets CRC-32 to initial value.
public
void
update
(
byte[]
b)
Updates checksum with specified array of bytes.
Updates checksum with specified array of bytes.
Parameters:
-
b
- the array of bytes to update the checksum with
public
void
update
(
byte[]
b,
int
off,
int
len)
[Specified in
Checksum
]
Updates CRC-32 with specified array of bytes.
public
void
update
(
int
b)
[Specified in
Checksum
]
Updates CRC-32 with specified byte.
Fields
Hide/Show inherited fields
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar