[][src]Function wasmer_runtime_c_api::memory::wasmer_memory_data_length

#[no_mangle]
pub extern "C" fn wasmer_memory_data_length(memory: *mut wasmer_memory_t) -> u32

Gets the size in bytes of the memory data.

This function returns 0 if memory is a null pointer.

Example:

uint32_t memory_data_length = wasmer_memory_data_length(memory);