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

            byteBuffer.Clear();
            return(result);
        }
Exemple #2
0
 public override sealed Int32Buffer AsInt32Buffer()
 {
     return(Int32ToByteBufferAdapter.Wrap(this));
 }