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

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