solana_account_info::debug_account_data

Function debug_account_data

Source
pub fn debug_account_data(data: &[u8], f: &mut DebugStruct<'_, '_>)
Expand description

Format data as hex.

If data’s length is greater than 0, add a field called “data” to f. The first 64 bytes of data is displayed; bytes after that are ignored.