コード例 #1
0
public static global::System.Object wrap(global::java.nio.ByteBuffer n1){
//XMLVM_BEGIN_WRAPPER[java.nio.LongToByteBufferAdapter: java.nio.LongBuffer 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.LongToByteBufferAdapter();
    _r1_o = ((global::java.nio.ByteBuffer) _r2_o).slice();
    ((global::java.nio.LongToByteBufferAdapter) _r0_o).@this((global::java.nio.ByteBuffer) _r1_o);
    return (global::java.nio.LongBuffer) _r0_o;
//XMLVM_END_WRAPPER[java.nio.LongToByteBufferAdapter: java.nio.LongBuffer wrap(java.nio.ByteBuffer)]
}
コード例 #2
0
public override global::System.Object slice(){
//XMLVM_BEGIN_WRAPPER[java.nio.LongToByteBufferAdapter: java.nio.LongBuffer 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.LongToByteBufferAdapter) _r2_o)._fbyteBuffer;
    _r1.i = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._flimit;
    _r1.i = _r1.i << (0x1f & 3);
    ((global::java.nio.ByteBuffer) _r0_o).limit((int) _r1.i);
    _r0_o = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._fbyteBuffer;
    _r1.i = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._fposition;
    _r1.i = _r1.i << (0x1f & 3);
    ((global::java.nio.ByteBuffer) _r0_o).position((int) _r1.i);
    _r0_o = new global::java.nio.LongToByteBufferAdapter();
    _r1_o = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._fbyteBuffer;
    _r1_o = ((global::java.nio.ByteBuffer) _r1_o).slice();
    ((global::java.nio.LongToByteBufferAdapter) _r0_o).@this((global::java.nio.ByteBuffer) _r1_o);
    _r1_o = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._fbyteBuffer;
    ((global::java.nio.ByteBuffer) _r1_o).clear();
    return (global::java.nio.LongBuffer) _r0_o;
//XMLVM_END_WRAPPER[java.nio.LongToByteBufferAdapter: java.nio.LongBuffer slice()]
}
コード例 #3
0
public override global::System.Object duplicate(){
//XMLVM_BEGIN_WRAPPER[java.nio.LongToByteBufferAdapter: java.nio.LongBuffer 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.LongToByteBufferAdapter();
    _r1_o = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._fbyteBuffer;
    _r1_o = ((global::java.nio.ByteBuffer) _r1_o).duplicate();
    ((global::java.nio.LongToByteBufferAdapter) _r0_o).@this((global::java.nio.ByteBuffer) _r1_o);
    _r1.i = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._flimit;
    ((global::java.nio.LongToByteBufferAdapter) _r0_o)._flimit = _r1.i;
    _r1.i = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._fposition;
    ((global::java.nio.LongToByteBufferAdapter) _r0_o)._fposition = _r1.i;
    _r1.i = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._fmark;
    ((global::java.nio.LongToByteBufferAdapter) _r0_o)._fmark = _r1.i;
    return (global::java.nio.LongBuffer) _r0_o;
//XMLVM_END_WRAPPER[java.nio.LongToByteBufferAdapter: java.nio.LongBuffer duplicate()]
}