Definition at line 2510 of file Number.cs.
2511 {
2512 if (digits < 1)
2513 {
2514 digits = 1;
2515 }
2519 {
2520 charsWritten = 0;
2521 return false;
2522 }
2523 charsWritten = num;
2525 {
2526 char* bufferEnd = ptr + num;
2528 {
2530 digits -= 9;
2531 }
2533 for (int num2 = sNegative.Length - 1; num2 >= 0; num2--)
2534 {
2535 *(--bufferEnd) = sNegative[num2];
2536 }
2537 }
2538 return true;
2539 }
static int CountDigits(ulong value)
static uint High32(ulong value)
static uint Int64DivMod1E9(ref ulong value)
static uint Low32(ulong value)
static unsafe byte * UInt32ToDecChars(byte *bufferEnd, uint value, int digits)
References System.Buffers.Text.FormattingHelpers.CountDigits(), System.destination, System.Number.High32(), System.input, System.Number.Int64DivMod1E9(), System.Number.Low32(), System.Math.Max(), System.Number.UInt32ToDecChars(), and System.value.
Referenced by System.Number.TryFormatInt64().