Class Conv
java.lang.Object
ghidra.util.Conv
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated class set for removal. Do not use.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoHexString(byte b) Deprecated, for removal: This API element is subject to removal in a future version.static StringtoHexString(int i) Deprecated, for removal: This API element is subject to removal in a future version.useNumericUtilities.toPaddedHexString(int)insteadstatic StringtoHexString(long l) Deprecated, for removal: This API element is subject to removal in a future version.useNumericUtilities.toPaddedHexString(long)insteadstatic StringtoHexString(short s) Deprecated, for removal: This API element is subject to removal in a future version.useNumericUtilities.toPaddedHexString(short)insteadstatic StringDeprecated, for removal: This API element is subject to removal in a future version.useStringUtils.leftPad(String, int, char)instead
-
Method Details
-
toHexString
Deprecated, for removal: This API element is subject to removal in a future version.useNumericUtilities.toPaddedHexString(byte)insteadReturns a byte converted into a padded hex string.- Parameters:
b- the byte- Returns:
- a byte converted into a padded hex string
-
toHexString
Deprecated, for removal: This API element is subject to removal in a future version.useNumericUtilities.toPaddedHexString(short)insteadReturns a short converted into a padded hex string.- Parameters:
s- the short- Returns:
- a short converted into a padded hex string
-
toHexString
Deprecated, for removal: This API element is subject to removal in a future version.useNumericUtilities.toPaddedHexString(int)insteadReturns an int converted into a padded hex string.- Parameters:
i- the int- Returns:
- an int converted into a padded hex string
-
toHexString
Deprecated, for removal: This API element is subject to removal in a future version.useNumericUtilities.toPaddedHexString(long)insteadReturns a long converted into a padded hex string.- Parameters:
l- the long- Returns:
- a long converted into a padded hex string
-
zeropad
Deprecated, for removal: This API element is subject to removal in a future version.useStringUtils.leftPad(String, int, char)insteadReturns a string that is extended to lengthlenwith zeroes.- Parameters:
s- The string to padlen- The length of the return string- Returns:
- a string that is extended to length
lenwith zeroes
-
NumericUtilities.toPaddedHexString(byte)instead