Functions
formatAndPadshared String formatAndPad(Integer integer, String formatAndPadInteger(Integer toFormat))

Given an Integer, return a String with the integer formatted as specified by the parameterized function of type String(Integer). The result of the function will be formatted in a human readable format including separating out each set of 4 hex characters with underscores and prepending lending zeros to pad each set to 4 characters.

formatAndPadAsBitsshared String formatAndPadAsBits(Integer integer)

Given an Integer, return a String with the integer formatted as Bits in a human readable format, inclding separating out each set of 4 bits with underscores and prepending lending zeros to pad each set to 4 characters.

ex: formatAndPadAsBits(30) »> 0001_1110

formatAndPadAsHexshared String formatAndPadAsHex(Integer integer)

Given an Integer, return a String with the integer formatted as hex in a human readable format, inclding separating out each set of 4 hex characters with underscores and prepending lending zeros to pad each set to 4 characters.

ex: formatAndPadAsHex(500000) »> 0007_a120

runshared void run()