Trait extra::base64::ToBase64

pub trait ToBase64 {
    fn to_base64(&self, config: Config) -> ~str;
}

A trait for converting a value to base64 encoding.

Required Methods

fn to_base64(&self, config: Config) -> ~str

Converts the value of self to a base64 value following the specified format configuration, returning the owned string.

Implementors