Rechercher une page de manuel
base64.3erl
Langue: en
Version: 80486 (ubuntu - 01/11/07)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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_string(Base64) -> DataString
-
- Types
- Base64 = string() | binary()
Data = binary()
DataString = string()
Decodes a base64 encoded string to plain ASCII. The string should only consist of characters in the base64 set, see RFC4648. mime_decode/1 and mime_decode_to_string/1 strips away illegal characters, while decode/1 and decode_to_string/1 fails if an illegal charactrer is found.
AUTHORS
Ingela Anderton Andin - support@erlang.ericsson.se Jakob Cederlund - support@erlang.ericsson.se
Ecarté, Sem ? Margo : " Niet ! Or, port celé, électroprotéinogrammes et race ! "
-- Roche, Jean
-- Roche, Jean
Contenus ©2006-2008 Benjamin Poulain
Design ©2006-2008 Maxime Vantorre