IntToHexConversion extension

Extension on int for producing hexadecimal string representations.

This helper is intended primarily for debugging, diagnostics, and interop-related output, where values are commonly expressed in hexadecimal form using Windows-style conventions.

on

Methods

toHexString([int width = 32]) String

Available on int, provided by the IntToHexConversion extension

Converts this integer to an uppercase hexadecimal string prefixed with 0x.