Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TryFormatInt64D()

static bool System.Buffers.Text.Utf8Formatter.TryFormatInt64D ( long value,
byte precision,
Span< byte > destination,
out int bytesWritten )
inlinestaticprivate

Definition at line 863 of file Utf8Formatter.cs.

864 {
865 bool insertNegationSign = false;
866 if (value < 0)
867 {
868 insertNegationSign = true;
869 value = -value;
870 }
871 return TryFormatUInt64D((ulong)value, precision, destination, insertNegationSign, out bytesWritten);
872 }
static bool TryFormatUInt64D(ulong value, byte precision, Span< byte > destination, bool insertNegationSign, out int bytesWritten)

References System.destination, System.Buffers.Text.Utf8Formatter.TryFormatUInt64D(), and System.value.

Referenced by System.Buffers.Text.Utf8Formatter.TryFormatInt64().