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