Base64¶
Constructors¶
create¶
Returns¶
- Base64 val^
Public Functions¶
encode_pem¶
Encode for PEM (RFC 1421).
Parameters¶
Returns¶
- String iso^
encode_mime¶
Encode for MIME (RFC 2045).
Parameters¶
Returns¶
- String iso^
encode_url[optional A: Seq[U8 val] iso]¶
Encode for URLs (RFC 4648). Padding characters are stripped by default.
fun box encode_url[optional A: Seq[U8 val] iso](
data: ReadSeq[U8 val] box,
pad: Bool val = false)
: A^
Parameters¶
Returns¶
- A^
encode[optional A: Seq[U8 val] iso]¶
Configurable encoding. The defaults are for RFC 4648.
fun box encode[optional A: Seq[U8 val] iso](
data: ReadSeq[U8 val] box,
at62: U8 val = 43,
at63: U8 val = 47,
pad: U8 val = 61,
linelen: USize val = 0,
linesep: String val = "
")
: A^
Parameters¶
- data: ReadSeq[U8 val] box
- at62: U8 val = 43
- at63: U8 val = 47
- pad: U8 val = 61
- linelen: USize val = 0
- linesep: String val = " "
Returns¶
- A^
decode_url[optional A: Seq[U8 val] iso]¶
Decode for URLs (RFC 4648).
Parameters¶
Returns¶
- A^ ?
decode[optional A: Seq[U8 val] iso]¶
Configurable decoding. The defaults are for RFC 4648. Missing padding is not an error. Non-base64 data, other than whitespace (which can appear at any time), is an error.
fun box decode[optional A: Seq[U8 val] iso](
data: ReadSeq[U8 val] box,
at62: U8 val = 43,
at63: U8 val = 47,
pad: U8 val = 61)
: A^ ?
Parameters¶
Returns¶
- A^ ?
eq¶
Parameters¶
- that: Base64 val
Returns¶
- Bool val
ne¶
Parameters¶
- that: Base64 val
Returns¶
- Bool val