Package ghidra.app.plugin.processors.generic

# Class Constant

java.lang.Object
ghidra.app.plugin.processors.generic.Constant

All Implemented Interfaces:
  `ExpressionValue`, `Serializable`

public class Constant extends Object implements ExpressionValue

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Constant(long v)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `length(MemBuffer buf, int off)`
  `long`
  `longValue(MemBuffer buf, int off)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Constant

    public Constant(long v)

- ## Method Details

  - ### longValue

    public long longValue(MemBuffer buf, int off)
    Specified by:
      `longValue` in interface `ExpressionValue`

  - ### length

    public int length(MemBuffer buf, int off)
    Specified by:
      `length` in interface `ExpressionValue`