pub fn borrow_address_slice<const N: usize>(
input: &[u8],
) -> Result<(&[Address], usize), ProgramError>Expand description
Borrow one bounded address vector from a compact dynamic-tail payload.
This is the zero-copy read path for the common multisig/authority-list case
that Quasar represents as Vec<'a, Address, N>. Address is
repr(transparent) over [u8; 32] and alignment-1, so the slice cast is
layout-safe after the length and capacity checks below.