lib.rs
Rust test marker or harness
SHA-256893155d20c55525ebcf0b46de76c4cbdf1e0e43518f911d52e2de357ec7e29a6
MaleculeMd(Pa)
Evidence
1:12… gs
2//!
3//! There isn't just one type of Base64; that would be too simple. You need to choose a character
4//! set (standard, URL-safe, etc) and padding suffix (yes/no).
5//! The `Config` struct encapsulates this info. There are some common configs included: `STANDARD`,
6//! `URL_SAFE`, etc. You can also mak …
6:54… ig` if needed.
7//!
8//! The functions that don't have `config` in the name (e.g. `encode()` and `decode()`) use the
9//! `STANDARD` config .
10//!
11//! T …
13:47… rowing as need be) and use the `_slice` methods for
14//! the best performance.
15//!
16//! # Encoding
17//!
18//! Several different encoding functions are a …
61:10… rite;
62mod tables;
63
64mod encode;
65pub use encode::{encode, encode_config, encode_config_buf, encode_config_slice};
66
67mod decode;
68pub use decode::{decode, decode_config, decode_config_buf, decode_config_slice, DecodeError};
69
70#[cfg(test)]
71mod tests;
72
⋯4 lines
112:8… r_set: CharacterSet,
113 /// True to pad output with `=` characters
114 pad: bool,
115}
⋯5 lines