Re:Libgrapheme: A simple freestanding C99 library for Unicode
by arcticbull on Wednesday November 16, 2022 @09:29AM
(#33623528)
I see, I misread the docs. However everything else I stand by, after all it allows you to embed invalid UTF-8 content.
No, Zig uses slices normally (ie ptr + len). Terminators are part of the type system for the (relatively rare, mostly related to C interop) cases where you really want a sentinel value at the end of your array.