Function bearssl::br_ssl_engine_recvapp_buf [] [src]

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

\brief Get buffer for received application data.

If the engine has received application data from the peer, hen this call returns a pointer to the buffer from where such data shall be read, 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 input buffer length, or 0. \return the application data input buffer, or NULL.