HexMate
HexMate copied to clipboard
High-performance hex encoding and decoding for .NET
Hello, The following code demonstrates the problem. Windows 11 x64. CPU: AMD 5950x ```cs void Main() { var bytes = new byte[1] { 0 }; var hex = "31"; if...
I have installed the latest nuget package. I tried to use it as System.Convert.FromHexString("A23B6798"), but I get the above error. How should I use it?
e.g: ``` /// /// Produces a string with a '0x' prefix. /// AddHexPrefix = 4 ``` So instead of producing say: ``123456789abcdef0`` would produce ``0x123456789abcdef0`` Lots of code we've got...
We use a lot of FromHex / ToHex and we have two switches that we need to use: 1) Include 0x that pushes 0x characters in front 2) remove leading...