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 SummaryConstructors Constructor Description CRC32OutputStream(java.io.OutputStream out)
 - 
Method SummaryAll 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- 
writepublic void write(byte[] b, int off, int len) throws java.io.IOException- Overrides:
- writein class- java.io.FilterOutputStream
- Throws:
- java.io.IOException
 
 - 
writepublic void write(int b) throws java.io.IOException- Overrides:
- writein class- java.io.FilterOutputStream
- Throws:
- java.io.IOException
 
 - 
getChecksumpublic long getChecksum() 
 - 
getByteCountpublic long getByteCount() The number of bytes written to this stream
 
- 
 
-