Package com.tencent.mmkv
Class NativeBuffer
- java.lang.Object
-
- com.tencent.mmkv.NativeBuffer
-
public final class NativeBuffer extends java.lang.ObjectA native memory wrapper, whose underlying memory can be passed to another JNI method directly. Avoiding unnecessary JNI boxing and unboxing. Must be destroy manuallyMMKV.destroyNativeBuffer(com.tencent.mmkv.NativeBuffer).
-
-
Constructor Summary
Constructors Constructor Description NativeBuffer(long ptr, int length)
-