public virtual Slot AllocateSafeSlot(int length) { Slot slot = _delegate.AllocateSafeSlot(_blockConverter.BytesToBlocks(length)); if (slot == null) { return(null); } return(_blockConverter.ToNonBlockedLength(slot)); }
public virtual Slot AllocateSafeSlot(int length) { Slot slot = _delegate.AllocateSafeSlot(_blockConverter.BytesToBlocks(length)); if (slot == null) { return(null); } return(_blockConverter.ToNonBlockedLength(slot)); }