referrerpolicy=no-referrer-when-downgrade

Function sp_api::serialize_runtime_api_info

source ·
pub const fn serialize_runtime_api_info(id: [u8; 8], version: u32) -> [u8; 12]
Expand description

Crude and simple way to serialize the RuntimeApiInfo into a bunch of bytes.