Noir: Is there a way to convert a slice to an array?

Is there a way to convert a slice to an array? like this:
let a = field.to_le_bytes(32); let b: [u8;32] = a.try_into();

52 Likes