Class Conv

java.lang.Object
ghidra.util.Conv

@Deprecated(since="12.2", forRemoval=true) public class Conv extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated class set for removal. Do not use.
  • Method Details

    • toHexString

      @Deprecated(since="12.2", forRemoval=true) public static String toHexString(byte b)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a byte converted into a padded hex string.
      Parameters:
      b - the byte
      Returns:
      a byte converted into a padded hex string
    • toHexString

      @Deprecated(since="12.2", forRemoval=true) public static String toHexString(short s)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a short converted into a padded hex string.
      Parameters:
      s - the short
      Returns:
      a short converted into a padded hex string
    • toHexString

      @Deprecated(since="12.2", forRemoval=true) public static String toHexString(int i)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns an int converted into a padded hex string.
      Parameters:
      i - the int
      Returns:
      an int converted into a padded hex string
    • toHexString

      @Deprecated(since="12.2", forRemoval=true) public static String toHexString(long l)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a long converted into a padded hex string.
      Parameters:
      l - the long
      Returns:
      a long converted into a padded hex string
    • zeropad

      @Deprecated(since="12.2", forRemoval=true) public static String zeropad(String s, int len)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use StringUtils.leftPad(String, int, char) instead
      Returns a string that is extended to length len with zeroes.
      Parameters:
      s - The string to pad
      len - The length of the return string
      Returns:
      a string that is extended to length len with zeroes