public void Capacity(int size) { int allocSize = AllocateBlockSize(size); Buffer = new byte[allocSize]; }