mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Integer ToString no longer need zeroed buffer
This commit is contained in:
parent
84b2f22846
commit
954858701f
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue