void FlushEncoders() { if (null != this.base64Encoder) { // The Flush will call WriteRaw to write out the rest of the encoded characters this.base64Encoder.Flush(); } this.flush = false; } }