Class FixedLengthDataReaderInputStream
java.lang.Object
java.io.InputStream
cool.scx.io.io_stream.FixedLengthDataReaderInputStream
-
Constructor Summary
ConstructorsConstructorDescriptionFixedLengthDataReaderInputStream(PowerfulLinkedDataReader dataReader, long maxLength) -
Method Summary
Modifier and TypeMethodDescriptionintread()intread(byte[] b, int off, int len) longtransferTo(OutputStream out) Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes
-
Constructor Details
-
FixedLengthDataReaderInputStream
-
-
Method Details
-
read
public int read()- Specified by:
readin classInputStream
-
read
public int read(byte[] b, int off, int len) - Overrides:
readin classInputStream
-
transferTo
- Overrides:
transferToin classInputStream- Throws:
IOException
-