# [−][src]Module rustc_serialize::base64

Base64 binary-to-text encoding

## Re-exports

`pub use self::FromBase64Error::*;`
`pub use self::CharacterSet::*;`

## Structs

Config | Contains configuration parameters for `to_base64`.

## Enums

CharacterSet | Available encoding character sets
FromBase64Error | Errors that can occur when decoding a base64 encoded string
Newline | Available newline types

## Statics

MIME | Configuration for RFC 2045 MIME base64 encoding
STANDARD | Configuration for RFC 4648 standard base64 encoding
URL_SAFE | Configuration for RFC 4648 base64url encoding

## Traits

FromBase64 | A trait for converting from base64 encoded values.
ToBase64 | A trait for converting a value to base64 encoding.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)