Class IndefiniteLengthInputStream
java.lang.Object
java.io.InputStream
org.gudy.bouncycastle.asn1.LimitedInputStream
org.gudy.bouncycastle.asn1.IndefiniteLengthInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate booleanprivate booleanFields inherited from class LimitedInputStream
_in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleanintread()intread(byte[] b, int off, int len) (package private) voidsetEofOn00(boolean eofOn00) Methods inherited from class LimitedInputStream
getUnderlyingStream, setParentEofDetectMethods inherited from class InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
_b1
private int _b1 -
_b2
private int _b2 -
_eofReached
private boolean _eofReached -
_eofOn00
private boolean _eofOn00
-
-
Constructor Details
-
IndefiniteLengthInputStream
IndefiniteLengthInputStream(InputStream in) throws IOException - Throws:
IOException
-
-
Method Details
-
setEofOn00
void setEofOn00(boolean eofOn00) -
checkForEof
boolean checkForEof() -
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-