Method
is_empty
Returns true if the memory is empty.
(&self)
Source from the content-addressed store, hash-verified
| 30 | |
| 31 | /// Returns true if the memory is empty. |
| 32 | fn is_empty(&self) -> bool { |
| 33 | self.len() == 0 |
| 34 | } |
| 35 | |
| 36 | /// Grows the memory to `new_len` bytes. |
| 37 | /// |
Implementers 3
vec.rscrates/tinywasm/src/store/memory/vec.r paged.rscrates/tinywasm/src/store/memory/paged lazy.rscrates/tinywasm/src/store/memory/lazy.