Skip to main content

shift_images_for_insert

Function shift_images_for_insert 

Source
pub fn shift_images_for_insert(
    images: &mut [ImageAnchor],
    byte_offset: u32,
    inserted_bytes: u32,
)
Expand description

Apply an “insert” shift to a block’s image anchors. Anchors at or past the offset move forward by inserted_bytes.