Package net.bramp.ffmpeg.io
Class CRC32InputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
net.bramp.ffmpeg.io.CRC32InputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Calculates the CRC32 for all bytes read through the input stream. Using the java.util.zip.CRC32
class to calculate the checksum.
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
CRC32InputStream
-
-
Method Details
-
resetCrc
-
getValue
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classFilterInputStream
- Throws:
IOException
-
mark
- Overrides:
mark
in classFilterInputStream
-
reset
- Overrides:
reset
in classFilterInputStream
- Throws:
IOException
-
markSupported
- Overrides:
markSupported
in classFilterInputStream
-