Skip to main content

byte_array_copy_slice

Function byte_array_copy_slice 

Source
pub unsafe fn byte_array_copy_slice(
    source: Obj,
    source_offset: Obj,
    target: Obj,
    target_offset: Obj,
    len: Obj,
    _exact: u8,
) -> Obj
Expand description

target with len bytes of source from source_offset written over it at target_offset. The result ends where the copied bytes end if they reach past the end of target. Consumes target.