/// Returns the argument extracted from the message payload.
Returns the argument extracted from the message payload.
Returns the argument extracted from the message payload .
pub fn arg_data() -> Vec<u8> {
    let len: u32 = unsafe { ic0::msg_arg_data_size() };
    let mut bytes = vec![0; len as usize];
    unsafe {
        ic0::msg_arg_data_copy(bytes.as_mut_ptr() as u32, 0, len);
    }
    bytes
}
pub fn arg_data ( ) -> Vec < u8 > { let len : u32 = unsafe { ic0 :: msg_arg_data_size ( ) } ; let mut bytes = vec ! [ 0 len as usize ] ; unsafe { ic0 :: msg_arg_data_copy ( bytes . as_mut_ptr ( ) as u32 , 0 , len ) ; } bytes }
Returns the argument extracted from the message payload.
Returns the argument extracted from the message payload .