Function solana_sdk::offchain_message::is_utf8
source · pub fn is_utf8(data: &[u8]) -> bool
Expand description
Check if given bytes contain valid UTF8 string
pub fn is_utf8(data: &[u8]) -> bool
Check if given bytes contain valid UTF8 string