Package org.yamcs.utils
Class VarIntUtil.ArrayDecoder
java.lang.Object
org.yamcs.utils.VarIntUtil.ArrayDecoder
- Direct Known Subclasses:
VarIntUtil.SignedArrayDecoder
- Enclosing class:
- VarIntUtil
decodes an array of varints
-
Method Summary
-
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()
-