public class CRC32OutputStream extends FilterOutputStream
CRC32
class is used to internally.out
Constructor and Description |
---|
CRC32OutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getCrc32_BigEndian() |
byte[] |
getCrc32_LittleEndian() |
long |
getLongCrc32() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int length) |
void |
write(int b) |
close, flush
public CRC32OutputStream(OutputStream out)
public void write(byte[] b, int off, int length) throws IOException
write
in class FilterOutputStream
IOException
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FilterOutputStream
IOException
public long getLongCrc32()
public byte[] getCrc32_BigEndian()
public byte[] getCrc32_LittleEndian()