Package org.apache.storm.utils
Class CRC32OutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.storm.utils.CRC32OutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class CRC32OutputStream extends OutputStream
-
-
Constructor Summary
Constructors Constructor Description CRC32OutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getValue()
void
write(byte[] bytes, int start, int end)
void
write(int i)
-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
-
-
-
Method Detail
-
getValue
public long getValue()
-
write
public void write(int i) throws IOException
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(byte[] bytes, int start, int end) throws IOException
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
-