Package io.airlift.slice
Class FixedLengthSliceInput
java.lang.Object
java.io.InputStream
io.airlift.slice.SliceInput
io.airlift.slice.FixedLengthSliceInput
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable
- Direct Known Subclasses:
BasicSliceInput,ChunkedSliceInput
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.airlift.slice.SliceInput
available, close, getRetainedSize, isReadable, mark, markSupported, position, read, read, read, readBoolean, readByte, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readSlice, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, setPosition, skip, skipBytesMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
FixedLengthSliceInput
public FixedLengthSliceInput()
-
-
Method Details
-
length
public abstract long length()Gets the total size of this input stream. -
remaining
public final long remaining()Gets the number of bytes remaining after the current position in this stream.
-