public void Init(uint count) { _data = MemoryUtils.AllocateBlock <T>(count, true); _usedData = MemoryUtils.AllocateBlock <int>(count, true); _maxCount = (int)count; }
public void Init(int count) { _data = MemoryUtils.AllocateArray <T>(count, true); _maxCount = count; }