mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 10:08:00 +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
|
@ -85,7 +85,7 @@ namespace System
|
|||
bool isNeg = false;
|
||||
int8 result = 0;
|
||||
|
||||
int8 radix = style.HasFlag(.AllowHexSpecifier) ? 0x10 : 10;
|
||||
int8 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