Class TypeConverter
java.lang.Object
ai.tegmentum.webassembly4j.runtime.proxy.TypeConverter
-
Method Summary
Modifier and TypeMethodDescriptionstatic Objectstatic booleanisComplexType(Class<?> type) Returns true if the type requires marshalling through linear memory.static booleanisSupportedType(Class<?> type) static booleanstatic ai.tegmentum.webassembly4j.api.ValueTypejavaTypeToValueType(Class<?> type) static booleanrequiresMarshalling(Class<?>[] paramTypes, Class<?> returnType) Returns true if any of the parameter types or the return type requires marshalling.
-
Method Details
-
javaTypeToValueType
-
fromWasm
-
isVoid
-
isSupportedType
-
isComplexType
Returns true if the type requires marshalling through linear memory. -
requiresMarshalling
Returns true if any of the parameter types or the return type requires marshalling.
-