public NumberFormatter(FormatterOptions formatterOptions) { this.formatterOptions = formatterOptions; sb = new StringBuilder(); // We need 64 chars to format the longest number, which is an unsigned 64-bit value in binary numberCharArray = new char[64]; }
public NumberFormatter(FormatterOptions formatterOptions) { if (formatterOptions == null) { ThrowHelper.ThrowArgumentNullException_formatterOptions(); } this.formatterOptions = formatterOptions; sb = new StringBuilder(); // We need 64 chars to format the longest number, which is an unsigned 64-bit value in binary numberCharArray = new char[64]; }
public string FormatInt8(FormatterOptions formatterOptions, in NumberFormattingOptions options, sbyte value)