How to use the wasmer.Int16MemoryView function in wasmer

To help you get started, we’ve selected a few wasmer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wasmerio / python-ext-wasm / tests / memory_view.py View on Github external
def test_is_a_class(self):
        self.assertTrue(inspect.isclass(Uint8MemoryView))
        self.assertTrue(inspect.isclass(Int8MemoryView))
        self.assertTrue(inspect.isclass(Uint16MemoryView))
        self.assertTrue(inspect.isclass(Int16MemoryView))
        self.assertTrue(inspect.isclass(Uint32MemoryView))
        self.assertTrue(inspect.isclass(Int32MemoryView))