solana_sdk::serialize_utils

Function read_pubkey

source
pub fn read_pubkey(
    current: &mut usize,
    data: &[u8],
) -> Result<Pubkey, SanitizeError>