Expand description
This crate provides the b58!
macro for converting base58 string literals
to a byte array at compile time.
§Examples
// the macro can be used in const context
const DATA: [u8; 3] = b58!("reg");
assert_eq!(DATA, [0x02,0x8c,0x6d]);
Macros§
- b58
- Macro for converting sequence of string literals containing base58 encoded data into an array of bytes.