Encodes the receiver string to base64 using a custom padding character.

If using the default padding character =, see encode_base64.

Property definitions

base64 :: base64 $ Text :: encode_base64
	# Encodes the receiver string to base64 using a custom padding character.
	#
	# If using the default padding character `=`, see `encode_base64`.
	fun encode_base64: String do return to_cstring.encode_base64(byte_length).to_s
lib/base64/base64.nit:223,2--226,79

base64 :: base64 $ FlatText :: encode_base64
	redef fun encode_base64 do return fast_cstring.encode_base64(byte_length).to_s
lib/base64/base64.nit:243,2--79