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:
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)
|
public override void ToString(String strBuffer)
|
||||||
{
|
{
|
||||||
// Dumb, make better.
|
// Dumb, make better.
|
||||||
char8[] strChars = scope:: char8[16];
|
char8[16] strChars = ?;
|
||||||
int32 char8Idx = 14;
|
int32 char8Idx = 14;
|
||||||
int32 valLeft = (int32)this;
|
int32 valLeft = (int32)this;
|
||||||
bool isNeg = true;
|
bool isNeg = true;
|
||||||
|
|
|
@ -78,7 +78,7 @@ namespace System
|
||||||
public override void ToString(String strBuffer)
|
public override void ToString(String strBuffer)
|
||||||
{
|
{
|
||||||
// Dumb, make better.
|
// Dumb, make better.
|
||||||
char8[] strChars = scope:: char8[22];
|
char8[22] strChars = ?;
|
||||||
int32 char8Idx = 20;
|
int32 char8Idx = 20;
|
||||||
int64 valLeft = (int64)this;
|
int64 valLeft = (int64)this;
|
||||||
bool isNeg = true;
|
bool isNeg = true;
|
||||||
|
|
|
@ -61,7 +61,7 @@ namespace System
|
||||||
public override void ToString(String strBuffer)
|
public override void ToString(String strBuffer)
|
||||||
{
|
{
|
||||||
// Dumb, make better.
|
// Dumb, make better.
|
||||||
char8[] strChars = scope:: char8[16];
|
char8[16] strChars = ?;
|
||||||
int32 char8Idx = 14;
|
int32 char8Idx = 14;
|
||||||
uint32 valLeft = (uint32)this;
|
uint32 valLeft = (uint32)this;
|
||||||
while (valLeft > 0)
|
while (valLeft > 0)
|
||||||
|
|
|
@ -73,7 +73,7 @@ namespace System
|
||||||
public override void ToString(String strBuffer)
|
public override void ToString(String strBuffer)
|
||||||
{
|
{
|
||||||
// Dumb, make better.
|
// Dumb, make better.
|
||||||
char8[] strChars = scope:: char8[22];
|
char8[22] strChars = ?;
|
||||||
int32 char8Idx = 20;
|
int32 char8Idx = 20;
|
||||||
uint64 valLeft = (uint64)this;
|
uint64 valLeft = (uint64)this;
|
||||||
while (valLeft > 0)
|
while (valLeft > 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue