Esempio n. 1
0
        public override unsafe IByteBuffer Copy(int index, int length)
        {
            this.CheckIndex(index, length);

            fixed(byte *addr = &this.Addr(index))
            return(UnsafeByteBufferUtil.Copy(this, addr, index, length));
        }
 public override IByteBuffer Copy(int index, int length)
 {
     this.CheckIndex(index, length);
     return(UnsafeByteBufferUtil.Copy(this, this.Addr(index), index, length));
 }