Function to_msg

Source
pub fn to_msg<Ops, Id>(
    header: BorshHeader<Id>,
    payload: &[u8],
) -> Result<ArrayBuffer>