Skip to main content

read_vec_u64

Function read_vec_u64 

Source
pub fn read_vec_u64(data: &[u8], offset: usize) -> Option<Vec<u64>>
Expand description

Read a Borsh Vec: u32 element count followed by little-endian values. Validate the complete byte range before allocating, including untrusted counts.