Class VarIntUtil.ArrayDecoder

java.lang.Object
org.yamcs.utils.VarIntUtil.ArrayDecoder
Direct Known Subclasses:
VarIntUtil.SignedArrayDecoder
Enclosing class:
VarIntUtil

public static class VarIntUtil.ArrayDecoder extends Object
decodes an array of varints
  • Method Details

    • hasNext

      public boolean hasNext()
      Returns true if the array contains another element. If the array is corrupted, this will return true and next() will throw an BufferOverflow exception
      Returns:
    • next

      public int next()