Exemple #1
0
        public override Int64Buffer Slice()
        {
            byteBuffer.SetLimit(limit << 3);
            byteBuffer.SetPosition(position << 3);
            Int64Buffer result = new Int64ToByteBufferAdapter(byteBuffer.Slice());

            byteBuffer.Clear();
            return(result);
        }
Exemple #2
0
 public override sealed Int64Buffer AsInt64Buffer()
 {
     return(Int64ToByteBufferAdapter.Wrap(this));
 }