public static global::System.Object newShortBuffer(global::org.xmlvm._nArrayAdapter <short> n1) { //XMLVM_BEGIN_WRAPPER[java.nio.BufferFactory: java.nio.ShortBuffer newShortBuffer(short[])] global::org.xmlvm._nElement _r0; _r0.i = 0; _r0.l = 0; _r0.f = 0; _r0.d = 0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; _r1.i = 0; _r1.l = 0; _r1.f = 0; _r1.d = 0; global::System.Object _r1_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r1_o = n1; _r0_o = new global::java.nio.ReadWriteShortArrayBuffer(); ((global::java.nio.ReadWriteShortArrayBuffer)_r0_o).@this((global::org.xmlvm._nArrayAdapter <short>)_r1_o); return((global::java.nio.ShortBuffer)_r0_o); //XMLVM_END_WRAPPER[java.nio.BufferFactory: java.nio.ShortBuffer newShortBuffer(short[])] }
public static global::System.Object copy(global::java.nio.ShortArrayBuffer n1, int n2){ //XMLVM_BEGIN_WRAPPER[java.nio.ReadWriteShortArrayBuffer: java.nio.ReadWriteShortArrayBuffer copy(java.nio.ShortArrayBuffer, int)] global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; _r4_o = n1; _r5.i = n2; _r0_o = new global::java.nio.ReadWriteShortArrayBuffer(); _r1.i = ((global::java.nio.ShortArrayBuffer) _r4_o).capacity(); _r2_o = ((global::java.nio.ShortArrayBuffer) _r4_o)._fbackingArray; _r3.i = ((global::java.nio.ShortArrayBuffer) _r4_o)._foffset; ((global::java.nio.ReadWriteShortArrayBuffer) _r0_o).@this((int) _r1.i, (global::org.xmlvm._nArrayAdapter<short>) _r2_o, (int) _r3.i); _r1.i = ((global::java.nio.ShortArrayBuffer) _r4_o).limit(); ((global::java.nio.ReadWriteShortArrayBuffer) _r0_o)._flimit = _r1.i; _r1.i = ((global::java.nio.ShortArrayBuffer) _r4_o).position(); ((global::java.nio.ReadWriteShortArrayBuffer) _r0_o)._fposition = _r1.i; ((global::java.nio.ReadWriteShortArrayBuffer) _r0_o)._fmark = _r5.i; return (global::java.nio.ReadWriteShortArrayBuffer) _r0_o; //XMLVM_END_WRAPPER[java.nio.ReadWriteShortArrayBuffer: java.nio.ReadWriteShortArrayBuffer copy(java.nio.ShortArrayBuffer, int)] }
public override global::System.Object slice(){ //XMLVM_BEGIN_WRAPPER[java.nio.ReadWriteShortArrayBuffer: java.nio.ShortBuffer slice()] global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::org.xmlvm._nElement _r4; global::System.Object _r5_o = null; _r5_o = this; _r0_o = new global::java.nio.ReadWriteShortArrayBuffer(); _r1.i = ((global::java.nio.ReadWriteShortArrayBuffer) _r5_o).remaining(); _r2_o = ((global::java.nio.ReadWriteShortArrayBuffer) _r5_o)._fbackingArray; _r3.i = ((global::java.nio.ReadWriteShortArrayBuffer) _r5_o)._foffset; _r4.i = ((global::java.nio.ReadWriteShortArrayBuffer) _r5_o)._fposition; _r3.i = _r3.i + _r4.i; ((global::java.nio.ReadWriteShortArrayBuffer) _r0_o).@this((int) _r1.i, (global::org.xmlvm._nArrayAdapter<short>) _r2_o, (int) _r3.i); return (global::java.nio.ShortBuffer) _r0_o; //XMLVM_END_WRAPPER[java.nio.ReadWriteShortArrayBuffer: java.nio.ShortBuffer slice()] }
public static global::System.Object newShortBuffer(global::org.xmlvm._nArrayAdapter<short> n1){ //XMLVM_BEGIN_WRAPPER[java.nio.BufferFactory: java.nio.ShortBuffer newShortBuffer(short[])] global::org.xmlvm._nElement _r0; _r0.i = 0; _r0.l = 0; _r0.f = 0; _r0.d = 0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; _r1.i = 0; _r1.l = 0; _r1.f = 0; _r1.d = 0; global::System.Object _r1_o = null; _r1_o = n1; _r0_o = new global::java.nio.ReadWriteShortArrayBuffer(); ((global::java.nio.ReadWriteShortArrayBuffer) _r0_o).@this((global::org.xmlvm._nArrayAdapter<short>) _r1_o); return (global::java.nio.ShortBuffer) _r0_o; //XMLVM_END_WRAPPER[java.nio.BufferFactory: java.nio.ShortBuffer newShortBuffer(short[])] }