org.apache.commons.ssl.asn1
Class IndefiniteLengthInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.ssl.asn1.LimitedInputStream
org.apache.commons.ssl.asn1.IndefiniteLengthInputStream
- class IndefiniteLengthInputStream
- extends LimitedInputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_b1
private int _b1
_b2
private int _b2
_eofReached
private boolean _eofReached
_eofOn00
private boolean _eofOn00
_in
protected final InputStream _in
IndefiniteLengthInputStream
IndefiniteLengthInputStream(InputStream in)
throws IOException
setEofOn00
void setEofOn00(boolean eofOn00)
checkForEof
boolean checkForEof()
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
read
public int read()
throws IOException
- Throws:
IOException
getUnderlyingStream
InputStream getUnderlyingStream()
setParentEofDetect
protected void setParentEofDetect(boolean on)