1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Integer ToString no longer need zeroed buffer

This commit is contained in:
ESH 2025-01-13 20:30:03 +01:00
parent 84b2f22846
commit 954858701f
4 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ namespace System
public override void ToString(String strBuffer)
{
// Dumb, make better.
char8[] strChars = scope:: char8[16];
char8[16] strChars = ?;
int32 char8Idx = 14;
int32 valLeft = (int32)this;
bool isNeg = true;

View file

@ -78,7 +78,7 @@ namespace System
public override void ToString(String strBuffer)
{
// Dumb, make better.
char8[] strChars = scope:: char8[22];
char8[22] strChars = ?;
int32 char8Idx = 20;
int64 valLeft = (int64)this;
bool isNeg = true;

View file

@ -61,7 +61,7 @@ namespace System
public override void ToString(String strBuffer)
{
// Dumb, make better.
char8[] strChars = scope:: char8[16];
char8[16] strChars = ?;
int32 char8Idx = 14;
uint32 valLeft = (uint32)this;
while (valLeft > 0)

View file

@ -73,7 +73,7 @@ namespace System
public override void ToString(String strBuffer)
{
// Dumb, make better.
char8[] strChars = scope:: char8[22];
char8[22] strChars = ?;
int32 char8Idx = 20;
uint64 valLeft = (uint64)this;
while (valLeft > 0)