pub fn u82base256(bytes: &[u8]) -> StringExpand description
Converts a slice of u8 values into a base256 encoded string using the CHARSETS constant.
§Parameters
bytes- A slice of u8 values to be encoded.
§Returns
A String containing the base256 encoded representation of the input bytes.
§Example
use base256_lib::{u82base256};
let bytes: &[u8] = b"Hello, World!";
let result = u82base256(bytes);
assert_eq!(result, "ĨŅŌŌŏČĀķŏŒŌńā");