public void Flush() { int i = 0; int toWrite = Contained; for (; i < toWrite; i++) { OutputBit(this[0]); Underlying >>= 1; } Underlying = 0; BitStack.Clear(); }