Method PreCheck
PreCheck(int)
Performs an advance check to ensure space is available to read/write one or more values. This provides a performance benefit for serializing multiple values using the SerializeValuePreChecked methods. But note that the benefit is small and only likely to be noticeable if serializing a very large number of items.
Declaration
bool PreCheck(int amount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | amount |
Returns
| Type | Description |
|---|---|
| bool |