pub fn wrap<V: Versioned>(versioned: &V, data: Vec<u8>) -> Vec<u8>
Wrap data with a version header for versioned, if needed.
data
versioned