1 package org.intel.openvino;
3 public class LockedMemory extends IEWrapper {
5 protected LockedMemory(long addr) {
9 public void get(float[] res) {
10 asFloat(nativeObj, res);
13 public void get(byte[] res) {
14 asByte(nativeObj, res);
17 /*----------------------------------- native methods -----------------------------------*/
18 private static native void asByte(long addr, byte[] res);
20 private static native void asFloat(long addr, float[] res);
23 protected native void delete(long nativeObj);