Uses of Interface
ai.tegmentum.webassembly4j.runtime.marshal.MemoryAllocator
Packages that use MemoryAllocator
-
Uses of MemoryAllocator in ai.tegmentum.webassembly4j.runtime.marshal
Classes in ai.tegmentum.webassembly4j.runtime.marshal that implement MemoryAllocatorModifier and TypeClassDescriptionfinal classSimple bump allocator for WebAssembly linear memory.Methods in ai.tegmentum.webassembly4j.runtime.marshal that return MemoryAllocatorModifier and TypeMethodDescriptionMarshalContext.allocator()Returns the memory allocator.static MemoryAllocatorMemoryAllocators.cabiRealloc(ai.tegmentum.webassembly4j.api.Function cabiRealloc) Creates an allocator backed by thecabi_reallocfunction.static MemoryAllocatorMemoryAllocators.fromInstance(ai.tegmentum.webassembly4j.api.Instance instance) Creates an allocator from a WASM instance by probing for known allocation exports.Methods in ai.tegmentum.webassembly4j.runtime.marshal with parameters of type MemoryAllocatorModifier and TypeMethodDescriptionstatic int[]StringCodec.encode(String value, ai.tegmentum.webassembly4j.api.Memory memory, MemoryAllocator allocator) Encodes a string into WebAssembly linear memory.Constructors in ai.tegmentum.webassembly4j.runtime.marshal with parameters of type MemoryAllocatorModifierConstructorDescriptionMarshalContext(ai.tegmentum.webassembly4j.api.Memory memory, MemoryAllocator allocator) Creates a new MarshalContext.MemoryWriter(ai.tegmentum.webassembly4j.api.Memory memory, MemoryAllocator allocator) Creates a new MemoryWriter.