base64encode
base64encode(writefunc, args...) base64encode(args...)
Given a write
-like function writefunc
, which takes an I/O stream as its first argument, base64(writefunc, args...)
calls writefunc
to write args...
to a base64-encoded string, and returns the string. base64(args...)
is equivalent to base64(write, args...)
: it converts its arguments into bytes using the standard write
functions and returns the base64-encoded string.
Examples
See Also
ascii, base64decode, Base64DecodePipe, base64encode, Base64EncodePipe, bin, bits, bytestring, charwidth, chomp, chop, chr2ind, contains, endswith, escape_string, graphemes, ind2chr, iscntrl, istext, isupper, isvalid, join, lcfirst, lowercase, lpad, lstrip, normalize_string, num2hex, parseip, randstring, readuntil, replace, repr, rpad, rsplit, rstrip, search, searchindex, split, startswith, string, stringmime, strip, strwidth, summary, takebuf_string, ucfirst, unescape_string, uppercase, utf16, utf32, utf8, wstring,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.