CStringMapper¶
Fields¶
Methods¶
toJava¶
-
public Object
toJava
(long peer, JavaObjectConstructionInfo info)¶ Creates a Java string.
Creates a Java string from a C string.
toNative¶
-
public long
toNative
(Object instance, NativeObjectConstructionInfo info)¶ Creates a C string.
At first it lookups in the cache, if it results in a success, then it uses it as a result. Otherwise, it creates a C string and cache it in {link #string2addr} and returns it.