HexMate icon indicating copy to clipboard operation
HexMate copied to clipboard

Add another HexFormattingOption that adds a '0x' prefix to the returned string

Open credfeto opened this issue 4 years ago • 0 comments

e.g:

        /// <summary>
        /// Produces a string with a '0x' prefix.
        /// </summary>
        AddHexPrefix = 4

So instead of producing say:

123456789abcdef0

would produce

0x123456789abcdef0

Lots of code we've got requires a 0x prefix and that means we have to do an extra allocation using HexMate to our own routines.

Happy to have a go at producing a PR for this.

credfeto avatar May 04 '20 16:05 credfeto