Class LEB128.Value

java.lang.Object
com.pnfsoftware.jeb.util.encoding.LEB128.Value
Enclosing class:
LEB128

public static class LEB128.Value extends Object
Decoded value along with the encoded length in bytes.
  • Constructor Details

    • Value

      public Value(long value, int bytelen)
      Create a decoded LEB128 value.
      Parameters:
      value - decoded value
      bytelen - encoded byte length
  • Method Details

    • get

      public long get()
      Returns:
      decoded value stored as a long
    • getEncodingLength

      public int getEncodingLength()
      Returns:
      encoding length in bytes