Skip to main content

materialized_altrep_region

Function materialized_altrep_region 

Source
#[doc(hidden)]
pub unsafe fn materialized_altrep_region<T: Copy>( data2: SEXP, start: usize, len: usize, out: &mut [T], ) -> usize
Expand description

Read a region from a materialized atomic vector, without consulting data1.

§Safety

data2 must be a live plain R vector with element layout T, on R’s thread.