コード例 #1
0
        public override Int32Buffer Slice()
        {
            byteBuffer.Limit    = limit << 2;
            byteBuffer.Position = position << 2;
            Int32Buffer result = new Int32ToByteBufferAdapter(byteBuffer.Slice());

            byteBuffer.Clear();
            return(result);
        }
コード例 #2
0
ファイル: HeapByteBuffer.cs プロジェクト: introfog/J2N
 public override sealed Int32Buffer AsInt32Buffer()
 {
     return(Int32ToByteBufferAdapter.Wrap(this));
 }