XU XUv0.8.8
中文

API

#mime/quotedprintable

import: #mime/quotedprintable

counts: 2 fns, 0 methods, 0 types, 0 consts, 0 ifaces

quoted-printable encode/decode.

decode_string

XuAPI
pub fn decode_string(s &string) string

Purpose

Decode from a string. Throws on failure.

Parameters

s &string
source string (borrowed; caller keeps it; type &string)

Returns

string — result string

encode_to_string

XuAPI
pub fn encode_to_string(s &string) string

Purpose

Encode to a string.

Parameters

s &string
source string (borrowed; caller keeps it; type &string)

Returns

string — result string