0.0.1 |
|
---|
#131 in #fixed-size
8KB
107 lines
yacopstr: Yet Another COPy STRing module
yacopstr's Str
wraps a fixed-size array of u8
and provides a
string-like interface on top. The size is specified using a const
generic argument.
The internal u8
array corresponds to UTF-8 encoded chars
. All
functions guarantee that the contents are valid UTF-8 and return
an error if they are not.
lib.rs
:
yacopstr is Yet Another COPy STRing module
yacopstr's [Str
] wraps a fixed-size array of u8
and provides a
string-like interface on top. The size is specified using a const
generic argument.
The internal u8
array corresponds to UTF-8 encoded chars
. All
functions guarantee that the contents are valid UTF-8 and return
an error if they are not.