Function bearssl::br_ssl_engine_sendapp_buf [] [src]

pub unsafe extern "C" fn br_ssl_engine_sendapp_buf(
    cc: *const br_ssl_engine_context,
    len: *mut usize
) -> *mut c_uchar

\brief Get buffer for application data to send.

If the engine is ready to accept application data to send to the peer, then this call returns a pointer to the buffer where such data shall be written, and its length is written in *len. Otherwise, *len is set to 0 and NULL is returned.

\param cc SSL engine context. \param len receives the application data output buffer length, or 0. \return the application data output buffer, or NULL.