pub fn manifest_decode<T: ManifestDecode>(buf: &[u8]) -> Result<T, DecodeError>