Hunny Software Library Reference

Base64EncoderW.OutputCrLf Property

Gets or sets the CRLF end-of-line characters option.

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

Property Value

A true value causes the encoder to output CR LF for the end-of-line characters; false causes it to output LF.

Remarks

If this option is true, then the encoder uses CR LF as the end-of-line characters in the encoded output. If this option is false, then the encoder uses LF alone.

Normally, you do not need to set this option, because the encoder performs correctly by default. When your program starts, and before you create any threads, set TextUtil.EOL to either TextUtil.LF_EOL or TextUtil.CRLF_EOL. (The default is TextUtil.LF_EOL.) Then, the base64 encoder sets the value of this option based on the value of TextUtil.EOL.

See Also

Base64EncoderW Class | Hunny.Mime Namespace