Function account_compression::processor::initialize_nullifier_queue::nullifier_queue_from_bytes_copy
source · pub unsafe fn nullifier_queue_from_bytes_copy(
data: RefMut<'_, &mut [u8]>
) -> Result<HashSet<u16>>Expand description
Creates a copy of IndexedArray from the given account data.
§Safety
This operation is unsafe. It’s the caller’s responsibility to ensure that the provided account data have correct size and alignment.