Creates a new base64 encoder.
Values over 76 octets are capped at 76 unless line length limits are explicitly overridden.
The maximum number of octets per line, not counting the line break.
Whether to bypass the normal MIME line-length limits.
The encoding that this encoder supports.
Creates a new base64 encoder with exactly the same state as this encoder.
A new encoder with identical state.
Estimates the number of bytes needed to encode the specified number of input bytes.
The input length.
The estimated output length.
Encodes the specified input into the output buffer.
The output buffer should be large enough to hold all encoded input. Use estimateOutputLength to estimate the required size.
The input buffer.
The starting index of the input buffer.
The length of the input range.
The output buffer.
The number of bytes written to the output buffer.
Encodes the specified input into the output buffer and flushes internal state.
The input buffer.
The starting index of the input buffer.
The length of the input range.
The output buffer.
The number of bytes written to the output buffer.
Resets the state of the encoder.
Incrementally encodes content using the base64 encoding.
Base64 is often used in MIME to encode binary content such as images and other multimedia so that data remains intact over 7-bit transports such as SMTP.