UnsafeStringBuilderPool(int, bool, int)
Initializes a new instance of the UnsafeStringBuilderPool class.
Declaration
public UnsafeStringBuilderPool(int stringBuilderCapacity, bool throwOnOverflow, int maxInstances = 32)
Parameters
Type | Name | Description |
---|---|---|
int | stringBuilderCapacity | Maximal number of characters in the UnsafeStringBuilder in the pool. |
bool | throwOnOverflow |
|
int | maxInstances | Maximal number of instances in the pool. The default value is 32. |