Skip to content

Commit 5d57a6d

Browse files
committed
Updated doc
1 parent cebc566 commit 5d57a6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/LinkDotNet.StringBuilder/ValueStringBuilder.Append.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ public ref partial struct ValueStringBuilder
1616
/// </summary>
1717
/// <param name="value">Formattable span to add.</param>
1818
/// <param name="format">Optional formatter. If not provided the default of the given instance is taken.</param>
19-
/// <param name="bufferSize">Size of the buffer allocated on the stack.</param>
19+
/// <param name="bufferSize">Size of the buffer allocated. If you have a custom type that implements <see cref="ISpanFormattable"/> that
20+
/// requires more space than the default (36 characters), adjust the value.</param>
2021
/// <typeparam name="T">Any <see cref="ISpanFormattable"/>.</typeparam>
2122
[MethodImpl(MethodImplOptions.AggressiveInlining)]
2223
public void Append<T>(T value, ReadOnlySpan<char> format = default, int bufferSize = 36)

0 commit comments

Comments
 (0)