---
name: "http_base_64"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:11.b.2-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/http_base_64"
---

# http\_base\_64(3erl)

Implements base 64 encode and decode, see RFC2045.

## NAME

http\_base\_64 - Implements base 64 encode and decode, see RFC2045.

## DESCRIPTION

Implements base 64 encode and decode, see RFC2045.

## COMMON DATA TYPES

Here follows type definitions that are used by more than once this module.

```
 string() = list of ASCII characters
```

## EXPORTS

**encode(PlainASCII) -\> Base64** \

- Types

  PlainASCII = string()\
   Base64 = string()\

Encodes a plain ASCII string into base64.

**decode(Base64) -\> PlainASCII**\

- Types

  PlainASCII = string()\
   Base64 = string()\

Decodes an base64 encoded string to plain ASCII.

## AUTHOR

```
Ingela Anderton Andin - support@erlang.ericsson.se
```
