backtype.storm.utils
Class CRC32OutputStream
java.lang.Object
java.io.OutputStream
backtype.storm.utils.CRC32OutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class CRC32OutputStream
- extends OutputStream
|
Method Summary |
long |
getValue()
|
void |
write(byte[] bytes,
int start,
int end)
|
void |
write(int i)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRC32OutputStream
public CRC32OutputStream()
getValue
public long getValue()
write
public void write(int i)
throws IOException
- Specified by:
write in class OutputStream
- Throws:
IOException
write
public void write(byte[] bytes,
int start,
int end)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.