Function magma::magma_connection_import_buffer

source ยท
pub unsafe extern "C" fn magma_connection_import_buffer(
    connection: magma_connection_t,
    buffer_handle: magma_handle_t,
    size_out: *mut u64,
    buffer_out: *mut magma_buffer_t,
    id_out: *mut magma_buffer_id_t,
) -> magma_status_t
Expand description

\brief Imports and takes ownership of the buffer referred to by the given handle. Takes ownership of |buffer_handle| on both success and failure. \param connection An open connection. \param buffer_handle A valid handle. \param size_out The size of the buffer in bytes. \param buffer_out The returned buffer. \param id_out The buffer id of the buffer.