Class TeeBCPGInputStream.DelayedTeeInputStream
java.lang.Object
java.io.InputStream
org.pgpainless.decryption_verification.TeeBCPGInputStream.DelayedTeeInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
TeeBCPGInputStream
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
DelayedTeeInputStream
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
squeeze
Squeeze the last byte out and update the output stream.- Throws:
IOException
- in case of an IO error
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-