gre_io_grow_buffer
int gre_io_grow_buffer(
gre_io_t* handle,
gre_io_serialized_data_t * buffer
)
This function attempts to expand the internal capacity of the Storyboard IO transport to ensure that the payload contained within serialized buffer can be transmitted.
note
This call is not supported by all platforms and may fail if the transport buffer can not be resized.
Parameters
| Parameter | Type | Description |
|---|---|---|
handle | gre_io_t * | The handle to the Storyboard IO channel to resize |
buffer | gre_io_serialized_data_t * | The buffer whose capacity is to be matched by the transport |
Returns
| Type | Description |
|---|---|
int | 0 on success and non-zero on failure. |