decode¶
In std/encoding.
fn decode<E : Encoding>(self: String, as: Type<E>) : Option<String>
The text self encodes in as, or none where self is not valid in
it or the octets are not UTF-8: "aGk/".decode(Base64) is some("hi?").
Percent-decoding does not read + as a space.