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

            byteBuffer.Clear();
            return(result);
        }
Exemple #2
0
 public override sealed Int16Buffer AsInt16Buffer()
 {
     return(Int16ToByteBufferAdapter.Wrap(this));
 }