16 #ifndef INCLUDE_NN_NLIB_BASE64OUTPUTSTREAM_H_ 17 #define INCLUDE_NN_NLIB_BASE64OUTPUTSTREAM_H_ 32 NEWLINEMODE_NONE = kNewLineModeNone,
33 NEWLINEMODE_CRLF = kNewLineModeCrlf,
34 NEWLINEMODE_LF = kNewLineModeLf
39 return Init(Base64Encoder::kBase64Default);
45 struct Base64OutputStreamPrivate;
46 Base64OutputStreamPrivate* prv_;
51 #endif // INCLUDE_NN_NLIB_BASE64OUTPUTSTREAM_H_ #define NLIB_OVERRIDE
Defines override if it is available for use. If not, holds an empty string.
#define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
Prohibits use of the copy constructor and assignment operator for the class specified by TypeName...
Sets a newline every 76 characters using LF.
CharOption
Variations for the 62nd and 63rd characters in Base64 can be specified.
The base class for classes that act internally like OutputStream to convert data. ...
Defines the class for encoding and decoding Base64.
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
Sets a newline every 76 characters using CRLF. This is what is expected of RFC 2045.
errno_t Init() noexcept
Runs Init(Base64Encoder::kBase64Default).
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.
NewLineMode
The newline options for the output Base64 text. The default is kNewLineModeNone.
The class for writing data after encoding it in Base64.
Defines the base class for output streams.