Hunny Software Library Reference

Base64EncoderW.SuppressFinalNewline Property

Gets or sets the option to suppress a final newline in the output.

[Visual Basic]
Public Property SuppressFinalNewline As Boolean
[C#]
public bool SuppressFinalNewline {get; set;}

Property Value

If true, the encoder suppresses a final newline; if false, the encoder always adds a final newline.

Remarks

If this option is true, then the encoder does not put a final newline (CR LF, or LF) at the end of the encoded output, unless the last line of output is a full line. If this option is false, then the encoder always adds a newline to the end of the encoded output, even if the last line is a partial line. If you don't want any end-of-line characters in the output, you may set this option to true and set the Maximum Line Length to a very large value.

The default value is false (meaning that the encoder always adds a final newline).

See Also

Base64EncoderW Class | Hunny.Mime Namespace