pub fn wrap( codec_id: u8, expires_at_ms: u64, stale_until_ms: u64, payload: &[u8], ) -> Vec<u8> ⓘ
Wraps an encoded payload in an envelope header.