format
typescript
MemoryStream.EnsureCapacity(size)class: MemoryStream
description
Expands the capacity of the memory stream.
The capacity will be automatically expanded by doubling the current capacity until it is greater than or equal to the specified capacity, instead of using the specified capacity directly.
parameter
| param_name | type | description |
|---|---|---|
| size | number | The size to expand the capacity to. |
reture
| type | description |
|---|---|
void |
