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 may be made directly to this instance if supported or to a DataType.copy(DataTypeManager) of this type.

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

      public String getDescription()
      Description copied from interface: DataType
      Get a String briefly describing this DataType.
      Returns:
      a one-liner describing this DataType.