Class BitFieldOptions.Offset

  • Enclosing class:
    BitFieldOptions

    public static final class BitFieldOptions.Offset
    extends java.lang.Object
    Offset in the array of bits. Must be greater than or equal to 0. If we have the binary 01101001 with offset of 1 for unsigned encoding of size 4, then the value is 13 from 0(1101)001.
    • Constructor Summary

      Constructors 
      Constructor Description
      Offset​(long offset)
      Constructor for Offset.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getOffset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Offset

        public Offset​(long offset)
        Constructor for Offset.
        Parameters:
        offset - element offset in the array of bits.
    • Method Detail

      • getOffset

        public java.lang.String getOffset()