Udostępnij za pośrednictwem


Base64Flags Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
Default 0

Default values for encoder/decoder flags.

NoPadding 1

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

NoWrap 2

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

Crlf 4

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

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 /.

NoClose 16

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

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