Function to_bytes

Source
pub fn to_bytes(pubkey: &Pubkey) -> [u8; 32]
Expand description

Convert to bytes with only the reference of a [Pubkey].