public PooledMemory(IMemoryOwner <byte> owner, TestMemoryPool pool) { _owner = owner; _pool = pool; _leaser = Environment.StackTrace; _referenceCount = 1; }
public PooledMemory(MemoryManager <byte> manager, TestMemoryPool pool) { _manager = manager; _pool = pool; _leaser = Environment.StackTrace; _referenceCount = 1; }
public PooledMemory(OwnedMemory <byte> ownedMemory, TestMemoryPool pool) { _ownedMemory = ownedMemory; _pool = pool; _leaser = Environment.StackTrace; }