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:
parent
4ab140a4f4
commit
269716c0d4
11 changed files with 23 additions and 22 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue