Returns the memory type, including page size and limits.
(&self, store: &Store)
| 204 | |
| 205 | /// Returns the memory type, including page size and limits. |
| 206 | pub fn ty(&self, store: &Store) -> Result<MemoryType> { |
| 207 | Ok(self.instance(store)?.kind) |
| 208 | } |
| 209 | |
| 210 | /// Reads up to `dst.len()` bytes from memory and returns the number of bytes read. |
| 211 | /// |