Class UnsignedLeb128DataType

All Implemented Interfaces:
BuiltInDataType, DataType, Dynamic, ExtensionPoint

public class UnsignedLeb128DataType extends AbstractLeb128DataType
An Unsigned Little Endian Base 128 integer data type.
  • Field Details

    • dataType

      public static final UnsignedLeb128DataType dataType
      A statically defined UnsignedLeb128DataType instance.
  • Constructor Details

    • UnsignedLeb128DataType

      public UnsignedLeb128DataType()
      Creates an unsigned little endian base 128 integer data type.
    • UnsignedLeb128DataType

      public UnsignedLeb128DataType(DataTypeManager dtm)
      Creates an unsigned little endian base 128 integer data type.
      Parameters:
      dtm - the data type manager to associate with this data type.
  • Method Details

    • clone

      public DataType clone(DataTypeManager dtm)
      Description copied from interface: DataType
      Returns an instance of this DataType using the specified DataTypeManager to allow its use of the corresponding DataOrganization while retaining its unique identity (see DataType.getUniversalID() and archive association (see DataType.getSourceArchive()) if applicable.

      This instance will be returned if this datatype's DataTypeManager matches the specified dtm. The recursion depth of a clone will stop on any datatype whose DataTypeManager matches the specified dtm and simply use the existing datatype instance.

      NOTE: In general, this method should not be used to obtain an instance to be modified. In most cases changes shuold be made directly to this instance if supported or to a DataType.copy(DataTypeManager).

      Parameters:
      dtm - the data-type manager instance whose data-organization should apply.
      Returns:
      cloned instance which may be the same as this instance
    • getMnemonic

      public String getMnemonic(Settings settings)
      Description copied from interface: DataType
      Get the mnemonic for this DataType.
      Specified by:
      getMnemonic in interface DataType
      Overrides:
      getMnemonic in class AbstractDataType
      Parameters:
      settings - settings which may influence the result or null
      Returns:
      the mnemonic for this DataType.
    • getDescription

      public String getDescription()
      Description copied from interface: DataType
      Get a String briefly describing this DataType.
      Specified by:
      getDescription in interface DataType
      Overrides:
      getDescription in class AbstractLeb128DataType
      Returns:
      a one-liner describing this DataType.
    • getDefaultLabelPrefix

      public String getDefaultLabelPrefix()
      Description copied from interface: DataType
      Returns the appropriate string to use as the default label prefix in the absence of any data.
      Specified by:
      getDefaultLabelPrefix in interface DataType
      Overrides:
      getDefaultLabelPrefix in class AbstractDataType
      Returns:
      the default label prefix or null if none specified.