Closeable, Flushable, AutoCloseablepublic class CRC32OutputStream extends FilterOutputStream
CRC32
class is used to internally.out| Constructor | Description |
|---|---|
CRC32OutputStream(OutputStream out) |
| Modifier and Type | Method | 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, flushpublic CRC32OutputStream(OutputStream out)
public void write(byte[] b,
int off,
int length)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic long getLongCrc32()
public byte[] getCrc32_BigEndian()
public byte[] getCrc32_LittleEndian()