Merge remote-tracking branch

'origin/GP-3763-dragonmacher-dt-tootlips-hex' (Closes #5682)
This commit is contained in:
Ryan Kurtz 2023-09-26 13:07:08 -04:00
commit 2cf298f511

View File

@ -378,10 +378,13 @@ public abstract class HTMLDataTypeRepresentation {
if (length < 0) {
return new TextLine(" <i>Unsized</i>");
}
if (dataType.isZeroLength()) {
length = 0;
return new TextLine("0");
}
return new TextLine(Integer.toString(length));
return new TextLine(
Integer.toString(length) + " (" + NumericUtilities.toHexString(length) + ")");
}
private static boolean canLinkDataType(DataType dt) {