Function lz_str::compress_to_base64

source ·
pub fn compress_to_base64(data: impl IntoWideIter) -> String
Expand description

Compress a string into a String, which is valid base64.

This function converts the result back into a Rust String since it is guaranteed to be valid unicode.