public void Append(System.Int32 value, string format) { if (!value.TryFormat(buffer.AsSpan(index), out var written, format.AsSpan())) { Grow(); if (!value.TryFormat(buffer.AsSpan(index), out written, format.AsSpan())) { ThrowArgumentException(nameof(value)); } } index += written; }