macro_rules! to_int {
($value:expr) => { ... };
}Expand description
Converts a byte array to an integer number
ยงUsage
use we_cdk::*;
#[action]
fn _constructor() {
let binary: Binary = to_bytes!(31337);
let result: Integer = to_int!(binary);
}