public unsafe void Clear(BufferColor color = BufferColor.Black) { fixed (BufferUnitInfo* b = _buffer) { for (int i = UnitCount; i >= 0; i--) { b[i].BackColor = color; b[i].ForeColor = color; b[i].CharData = '\0'; } } }