Esempio n. 1
0
 internal static RioMemoryPoolBlock Create(
     int offset,
     int length,
     RioMemoryPool pool,
     RioMemoryPoolSlab slab)
 {
     return(new RioMemoryPoolBlock(pool, slab, offset, length));
 }
Esempio n. 2
0
        /// <summary>
        /// This object cannot be instantiated outside of the static Create method
        /// </summary>
        protected RioMemoryPoolBlock(RioMemoryPool pool, RioMemoryPoolSlab slab, int offset, int length)
        {
            _offset = offset;
            _length = length;

            Pool = pool;
            Slab = slab;
        }