public byte[] value() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.value(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } } }
void write(long buffer, int index) { SliceJNI.memmove(PointerMath.add(buffer, SliceJNI.SIZEOF*index), this, SliceJNI.SIZEOF); }
void write(long buffer, int index) { SliceJNI.memmove(PointerMath.add(buffer, SliceJNI.SIZEOF*index), this, SliceJNI.SIZEOF); }
void read(long buffer, int index) { SliceJNI.memmove(this, PointerMath.add(buffer, SliceJNI.SIZEOF*index), SliceJNI.SIZEOF); }
void read(long buffer, int index) { SliceJNI.memmove(this, PointerMath.add(buffer, SliceJNI.SIZEOF*index), SliceJNI.SIZEOF); }
void read(long buffer, int index) { SliceJNI.memmove(this, PointerMath.add(buffer, SliceJNI.SIZEOF*index), SliceJNI.SIZEOF); }
void write(long buffer, int index) { SliceJNI.memmove(PointerMath.add(buffer, SliceJNI.SIZEOF*index), this, SliceJNI.SIZEOF); }
public byte[] value() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.value(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } } }
public byte[] value() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.value(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } } }
public byte[] key() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.key(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } }
public byte[] key() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.key(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } }
public byte[] key() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.key(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } }