Top Description Fields Constructors Methods
org.bouncycastle.asn1

pack-priv abstract Class LimitedInputStream

extends InputStream
Class Inheritance
Known Direct Subclasses
org.bouncycastle.asn1.DefiniteLengthInputStream, org.bouncycastle.asn1.IndefiniteLengthInputStream
Imports
java.io.InputStream

Internal use stream that allows reading of a limited number of bytes from a wrapped stream.

Field Summary

Modifier and TypeField and Description
protected final InputStream
private int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv int
protected void
setParentEofDetect(boolean on)

Inherited from java.io.InputStream:
availableclosemarkmarkSupportednullInputStreamreadreadreadreadAllBytesreadNBytesreadNBytesresetskipskipNBytestransferTo

Field Detail

_inback to summary
protected final InputStream _in
_limitback to summary
private int _limit

Constructor Detail

LimitedInputStreamback to summary
pack-priv LimitedInputStream(InputStream in, int limit)

Method Detail

getLimitback to summary
pack-priv int getLimit()
setParentEofDetectback to summary
protected void setParentEofDetect(boolean on)