Function: base64-encode-region

base64-encode-region is an interactive function defined in fns.c.

Signature

(base64-encode-region BEG END &optional NO-LINE-BREAK)

Documentation

Base64-encode the region between BEG and END.

The data in the region is assumed to represent bytes, not text. If you want to base64-encode text, the text has to be converted into data first by using encode-coding-region with the appropriate coding system first.

Return the length of the encoded data.

Optional third argument NO-LINE-BREAK means do not break long lines into shorter lines.

View in manual

Probably introduced at or before Emacs version 20.4.

Key Bindings

Source Code

// Defined in /usr/src/emacs/src/fns.c
{
  return base64_encode_region_1 (beg, end, NILP (no_line_break), true, false);
}