MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / len

Method len

crates/wiggle/src/lib.rs:431–433  ·  view source on GitHub ↗

For slices, returns the length of the slice, in elements.

(&self)

Source from the content-addressed store, hash-verified

429
430 /// For slices, returns the length of the slice, in elements.
431 pub fn len(&self) -> u32 {
432 self.pointer.1
433 }
434
435 /// Returns an iterator over interior pointers.
436 ///

Callers 15

is_in_bounds_heapMethod · 0.45
to_vecMethod · 0.45
copy_from_sliceMethod · 0.45
validate_size_alignMethod · 0.45
iterMethod · 0.45
getMethod · 0.45
get_rangeMethod · 0.45
testMethod · 0.45
stratMethod · 0.45
stratMethod · 0.45
testMethod · 0.45
hello_stringMethod · 0.45

Calls

no outgoing calls

Tested by 8

testMethod · 0.36
stratMethod · 0.36
stratMethod · 0.36
testMethod · 0.36
hello_stringMethod · 0.36
multi_stringMethod · 0.36
stratMethod · 0.36
testMethod · 0.36