Package org.gudy.bouncycastle.asn1
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 int
private int
private boolean
private boolean
Fields inherited from class org.gudy.bouncycastle.asn1.LimitedInputStream
_in
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
int
read()
int
read
(byte[] b, int off, int len) (package private) void
setEofOn00
(boolean eofOn00) Methods inherited from class org.gudy.bouncycastle.asn1.LimitedInputStream
getUnderlyingStream, setParentEofDetect
Methods inherited from class java.io.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:
read
in classInputStream
- Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-