codec_multibase/lib.rs
1// SPDX-FileCopyrightText: 2026 ReallyMe LLC
2//
3// SPDX-License-Identifier: MIT OR Apache-2.0
4
5//! Multibase encode/decode. Decoding is panic-free on arbitrary input, including strings whose first character is multi-byte.
6
7mod base58btc;
8mod decode;
9mod encode;
10mod error;
11
12pub use base58btc::{
13 base58btc_decode, base58btc_encode, Base58Error, MAX_BASE58BTC_DECODED_LEN,
14 MAX_BASE58BTC_INPUT_LEN,
15};
16pub use decode::multibase_to_bytes;
17pub use encode::{bytes_to_multibase58btc, bytes_to_multibase_base64url};
18pub use error::MultibaseError;