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

public abstract class FixedLengthSliceInput extends SliceInput
  • 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.