wasmtime_memory_data_size function

  1. @Native<Size Function(Pointer<wasmtime_context_t>, Pointer<wasmtime_memory_t>)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_memory_t>)>()
int wasmtime_memory_data_size(
  1. Pointer<wasmtime_context_t> store,
  2. Pointer<wasmtime_memory_t> memory
)

\brief Returns the byte length of this linear memory.

Implementation

@ffi.Native<
  ffi.Size Function(
    ffi.Pointer<wasmtime_context_t>,
    ffi.Pointer<wasmtime_memory_t>,
  )
>()
external int wasmtime_memory_data_size(
  ffi.Pointer<wasmtime_context_t> store,
  ffi.Pointer<wasmtime_memory_t> memory,
);