Example #1
0
 void read(long buffer, int index) {
   SliceJNI.memmove(this, PointerMath.add(buffer, SliceJNI.SIZEOF * index), SliceJNI.SIZEOF);
 }
Example #2
0
 void write(long buffer, int index) {
   SliceJNI.memmove(PointerMath.add(buffer, SliceJNI.SIZEOF * index), this, SliceJNI.SIZEOF);
 }