ps-str 0.1.0-5

String transcoding library
Documentation
1
2
3
4
5
6
7
8
9
mod variants;

use arcstr::ArcStr;

pub trait ArcStrUtf8Encoder {
    /// Converts a byte sequence into an [`ArcStr`], replacing invalid bytes
    /// with fallback characters from the [`CHARS`](crate::CHARS) table.
    fn to_utf8_arcstr(&self) -> ArcStr;
}