/// Replies with the given byte array.
/// Note, currently we do not support chunkwise assemlbing of the response.
Replies with the given byte array.
Note, currently we do not support chunkwise assemlbing of the response.
Replies with the given byte array . Note currently we do not support chunkwise assemlbing of the response .
pub fn reply(payload: &[u8]) {
    unsafe {
        ic0::msg_reply_data_append(payload.as_ptr() as u32, payload.len() as u32);
        ic0::msg_reply();
    }
}
pub fn reply ( payload : & [ u8 ] ) { unsafe { ic0 :: msg_reply_data_append ( payload . as_ptr ( ) as u32 , payload . len ( ) as u32 ) ; ic0 :: msg_reply ( ) ; } }
Replies with the given byte array.
Replies with the given byte array .
payload
&[u8]