Class CRC32OutputStream
- java.lang.Object
 - 
- java.io.OutputStream
 - 
- java.io.FilterOutputStream
 - 
- com.inductiveautomation.ignition.common.util.CRC32OutputStream
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class CRC32OutputStream extends java.io.FilterOutputStreamA simple FilterOutputStream that calculates a checksum as data is written to the underlying stream 
- 
- 
Constructor Summary
Constructors Constructor Description CRC32OutputStream(java.io.OutputStream out) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetByteCount()The number of bytes written to this streamlonggetChecksum()voidwrite(byte[] b, int off, int len)voidwrite(int b) 
 - 
 
- 
- 
Method Detail
- 
write
public void write(byte[] b, int off, int len) throws java.io.IOException- Overrides:
 writein classjava.io.FilterOutputStream- Throws:
 java.io.IOException
 
- 
write
public void write(int b) throws java.io.IOException- Overrides:
 writein classjava.io.FilterOutputStream- Throws:
 java.io.IOException
 
- 
getChecksum
public long getChecksum()
 
- 
getByteCount
public long getByteCount()
The number of bytes written to this stream 
 - 
 
 -