1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 23:04:09 +02:00

Rework hex parsing flags. New 'Hex' flag, 'AllowHexSpecifier' allows hex

This commit is contained in:
Brian Fiete 2023-06-22 07:52:43 -04:00
parent 4ab140a4f4
commit 269716c0d4
11 changed files with 23 additions and 22 deletions

View file

@ -97,7 +97,7 @@ namespace System
uint64 result = 0;
uint64 prevResult = 0;
uint64 radix = style.HasFlag(.AllowHexSpecifier) ? 0x10 : 10;
uint64 radix = style.HasFlag(.Hex) ? 0x10 : 10;
for (int32 i = 0; i < val.Length; i++)
{