reallyme-codec-base64 0.3.0

Base64 codec utilities for ReallyMe Codec.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-FileCopyrightText: 2026 ReallyMe LLC
//
// SPDX-License-Identifier: MIT OR Apache-2.0

//! Standard base64 (RFC 4648) encode/decode with canonical padding required on decode.

mod decode;
mod encode;
mod error;

pub use decode::base64_to_bytes;
/// Maximum accepted encoded base64 text length.
pub const MAX_BASE64_INPUT_LEN: usize = 2 * 1024 * 1024;
pub use encode::bytes_to_base64;
pub use error::Base64Error;