BigNumber.TryGetMinimumFormatBufferLength Method
Definition
Namespace: Corvus.Numerics
Assembly: Corvus.Text.Json.dll
Source: BigNumber.cs
TryGetMinimumFormatBufferLength(ref int)
Gets the minimum format buffer length.
public bool TryGetMinimumFormatBufferLength(ref int minimumLength)
Parameters
| Name | Type | Description |
|---|---|---|
minimumLength |
ref int |
The minimum length for a text buffer to format the number. |
Returns
true if the buffer length required for the number can be safely allocated.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue