Function simics_api_sys::dbuffer_split
source · pub unsafe extern "C" fn dbuffer_split(
dbuffer: *mut dbuffer_t,
offset: usize,
) -> *mut dbuffer_t
Expand description
Split a buffer in two. The data after ‘offset’ is left in the old dbuffer, and the data before ‘offset’ is returned in a newly allocated dbuffer.