public static global::System.Object wrap(global::java.nio.ByteBuffer n1){ //XMLVM_BEGIN_WRAPPER[java.nio.ShortToByteBufferAdapter: java.nio.ShortBuffer wrap(java.nio.ByteBuffer)] global::System.Object _r0_o = null; global::System.Object _r1_o = null; global::System.Object _r2_o = null; _r2_o = n1; _r0_o = new global::java.nio.ShortToByteBufferAdapter(); _r1_o = ((global::java.nio.ByteBuffer) _r2_o).slice(); ((global::java.nio.ShortToByteBufferAdapter) _r0_o).@this((global::java.nio.ByteBuffer) _r1_o); return (global::java.nio.ShortBuffer) _r0_o; //XMLVM_END_WRAPPER[java.nio.ShortToByteBufferAdapter: java.nio.ShortBuffer wrap(java.nio.ByteBuffer)] }
public override global::System.Object slice(){ //XMLVM_BEGIN_WRAPPER[java.nio.ShortToByteBufferAdapter: java.nio.ShortBuffer slice()] global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::System.Object _r2_o = null; _r2_o = this; _r0_o = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._fbyteBuffer; _r1.i = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._flimit; _r1.i = _r1.i << (0x1f & 1); ((global::java.nio.ByteBuffer) _r0_o).limit((int) _r1.i); _r0_o = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._fbyteBuffer; _r1.i = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._fposition; _r1.i = _r1.i << (0x1f & 1); ((global::java.nio.ByteBuffer) _r0_o).position((int) _r1.i); _r0_o = new global::java.nio.ShortToByteBufferAdapter(); _r1_o = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._fbyteBuffer; _r1_o = ((global::java.nio.ByteBuffer) _r1_o).slice(); ((global::java.nio.ShortToByteBufferAdapter) _r0_o).@this((global::java.nio.ByteBuffer) _r1_o); _r1_o = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._fbyteBuffer; ((global::java.nio.ByteBuffer) _r1_o).clear(); return (global::java.nio.ShortBuffer) _r0_o; //XMLVM_END_WRAPPER[java.nio.ShortToByteBufferAdapter: java.nio.ShortBuffer slice()] }
public override global::System.Object duplicate(){ //XMLVM_BEGIN_WRAPPER[java.nio.ShortToByteBufferAdapter: java.nio.ShortBuffer duplicate()] global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::System.Object _r2_o = null; _r2_o = this; _r0_o = new global::java.nio.ShortToByteBufferAdapter(); _r1_o = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._fbyteBuffer; _r1_o = ((global::java.nio.ByteBuffer) _r1_o).duplicate(); ((global::java.nio.ShortToByteBufferAdapter) _r0_o).@this((global::java.nio.ByteBuffer) _r1_o); _r1.i = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._flimit; ((global::java.nio.ShortToByteBufferAdapter) _r0_o)._flimit = _r1.i; _r1.i = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._fposition; ((global::java.nio.ShortToByteBufferAdapter) _r0_o)._fposition = _r1.i; _r1.i = ((global::java.nio.ShortToByteBufferAdapter) _r2_o)._fmark; ((global::java.nio.ShortToByteBufferAdapter) _r0_o)._fmark = _r1.i; return (global::java.nio.ShortBuffer) _r0_o; //XMLVM_END_WRAPPER[java.nio.ShortToByteBufferAdapter: java.nio.ShortBuffer duplicate()] }