Unix/Linux Go Back    


Linux 2.6 - man page for base64 (linux section 3erl)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


base64(3erl)			     Erlang Module Definition			     base64(3erl)

NAME
       base64 - Implements base 64 encode and decode, see RFC2045.

DESCRIPTION
       Implements base 64 encode and decode, see RFC2045.

EXPORTS
       encode(Data) -> Base64
       encode_to_string(Data) -> Base64String

	      Types  Data = string() | binary()
		     Base64 = binary()
		     Base64String = string()

	      Encodes  a  plain  ASCII string into base64. The result will be 33% larger than the
	      data.

       decode(Base64) -> Data
       decode_to_string(Base64) -> DataString
       mime_decode(Base64) -> Data
       mime_decode_to_string(Base64) -> DataString

	      Types  Base64 = string() | binary()
		     Data = binary()
		     DataString = string()

	      Decodes a base64 encoded string to plain	ASCII.	See  RFC4648.  mime_decode/1  and
	      mime_decode_to_string/1	strips	 away  illegal	characters,  while  decode/1  and
	      decode_to_string/1 only strips away whitespace characters.

Ericsson AB				  stdlib 1.17.3 			     base64(3erl)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 07:24 PM.