Trait lockchain_core::traits::Base64AutoEncoder [] [src]

pub trait Base64AutoEncoder {
    fn to_base64(&self) -> String;
fn from_base64(base64: &str) -> String; }

Include this trait to monkey-patch base64 functions onto String types

Required Methods

Implementations on Foreign Types

impl Base64AutoEncoder for String
[src]

[src]

Automatically encode this string to base64

[src]

Craft a string from an existing base64 string slice

Implementors