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 TypeMethodDescriptionvoidclose()intread()intread(byte[] b, int off, int len) longtransferTo(OutputStream out) Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes
-
Constructor Details
-
FixedLengthDataReaderInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
transferTo
- Overrides:
transferToin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-