public interface ToNativeConverter
Modifier and Type | Method and Description |
---|---|
Class<?> |
nativeType()
Indicate the type expected from
toNative(java.lang.Object, com.sun.jna.ToNativeContext) . |
Object |
toNative(Object value,
ToNativeContext context)
Convert a Java type to an appropriate native type.
|
Object toNative(Object value, ToNativeContext context)
Pointer
NativeLong
Structure
WString
Buffer
(unsupported in direct mode)
Class<?> nativeType()
toNative(java.lang.Object, com.sun.jna.ToNativeContext)
.