示例#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
 public override sealed Int32Buffer AsInt32Buffer()
 {
     return(Int32ToByteBufferAdapter.Wrap(this));
 }