Int8Pointer iptr1 = NativeBridge.getInstance().createInt8Pointer(ptr1);
assertEquals(0, iptr1.get(str.length()*2));
assertEquals(0, iptr1.get(str.length()*2+1));
Int8Pointer iptr2 = NativeBridge.getInstance().createInt8Pointer(12, false);
iptr2.fill((byte)0xFF, 12);
long ptr2 = iptr2.lock();
long ptr3 = acc.getChars(ptr2, 12, str, 6, 5);
assertEquals(ptr2, ptr3);
iptr2.unlock();