Base64Flags Base64Flags Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[System.Flags]
public enum Base64Flags
type Base64Flags = 
Inheritance
Base64FlagsBase64Flags
Attributes

Fields

Crlf Crlf 4

Encoder flag bit to indicate lines should be terminated with a CRLF pair instead of just an LF.

Default Default 0

Default values for encoder/decoder flags.

NoClose NoClose 16

Flag to pass to Base64OutputStreamto indicate that it should not close the output stream it is wrapping when it itself is closed.

NoPadding NoPadding 1

Encoder flag bit to omit the padding '=' characters at the end of the output (if any).

NoWrap NoWrap 2

Encoder flag bit to omit all line terminators (i.e., the output will be on one long line).

UrlSafe UrlSafe 8

Encoder/decoder flag bit to indicate using the "URL and filename safe" variant of Base64 (see RFC 3548 section 4) where - and _ are used in place of + and /.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to