pub unsafe extern "C" fn otTcpReceiveContiguify(
    aEndpoint: *mut otTcpEndpoint
) -> otError
Expand description

Reorganizes the receive buffer to be entirely contiguous in memory.

This is optional; an application can simply traverse the linked buffer chain obtained by calling @p otTcpReceiveByReference. Some applications may wish to call this function to make the receive buffer contiguous to simplify their data processing, but this comes at the expense of CPU time to reorganize the data in the receive buffer.

@param[in] aEndpoint A pointer to the TCP endpoint whose receive buffer to reorganize.

@retval OT_ERROR_NONE Successfully completed the operation. @retval OT_ERROR_FAILED Failed to complete the operation.