Function flipper0::ffi::rpc_session_feed
source · pub unsafe extern "C" fn rpc_session_feed(
session: *mut RpcSession,
buffer: *mut u8,
size: usize,
timeout: u32
) -> usize
Expand description
Give bytes to RPC service to decode them and perform command
@param session pointer to RpcSession descriptor @param buffer buffer to provide to RPC service @param size size of buffer @param timeout max timeout to wait till all buffer will be consumed
@return actually consumed bytes