Class ByteSource.Peekable

java.lang.Object
org.apache.cassandra.utils.bytecomparable.ByteSource.Peekable
All Implemented Interfaces:
ByteSource
Enclosing interface:
ByteSource

public static class ByteSource.Peekable extends Object implements ByteSource
  • Constructor Details

  • Method Details

    • next

      public int next()
      Description copied from interface: ByteSource
      Consume the next byte, unsigned. Must be between 0 and 255, or END_OF_STREAM if there are no more bytes.
      Specified by:
      next in interface ByteSource
    • peek

      public int peek()