Class FixedLengthDataReaderInputStream
java.lang.Object
java.io.InputStream
cool.scx.io.io_stream.CheckedInputStream
cool.scx.io.io_stream.FixedLengthDataReaderInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
固定长度的 读取器
- Version:
- 0.0.1
- Author:
- scx567888
-
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 cool.scx.io.io_stream.CheckedInputStream
ensureOpen, isClosedMethods 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
-