Skip to main content

base64

Function base64 

Source
fn base64(y: &Yaml, what: &'static str) -> Result<Bytes, String>
Expand description

Standard base64 with padding, which is what proto3 JSON uses for every bytes field that is not an id. URL-safe input is accepted because it costs two match arms and a rejected attribute value is a lost attribute value.