Pike v8.1 release 6

Method MIME.encode_base64()


Method encode_base64

string encode_base64(string data, void|int no_linebreaks)

Description

This function encodes data using the base64 transfer encoding.

If a nonzero value is passed as no_linebreaks, the result string will not contain any linebreaks.

See also

MIME.decode_base64(), MIME.encode()