toShortHex method

String toShortHex()

Convert to Hex String Trim extra zeroes in the beginning of a string.

Example:
HexData.fromBytes([0,1,2,3,4]).toShortHex(); // "0x1020304"

Implementation

String toShortHex() => bytes.toShortHex();