pub fn encode_string_u256(u256: &U256) -> String
Expand description
Encodes a U256
value into a hexadecimal string prefixed with “0x”.
§Examples
use primitive_types::U256;
use neo3::neo_types::encode_string_u256;
let value = U256::from(255);
let encoded = encode_string_u256(&value);
assert_eq!(encoded, "0xff");