obliteration icon indicating copy to clipboard operation
obliteration copied to clipboard

Implement a wrapper type for string buffers

Open SuchAFuriousDeath opened this issue 2 years ago • 5 comments

In several places where FreeBSD uses [char; N], we currently use String. We could mimic the FreeBSD code more closely while also avoiding heap allocations if we implemented a wrapper type using generics for this, something like ArrayString<N>.

SuchAFuriousDeath avatar Dec 23 '23 15:12 SuchAFuriousDeath

This was previously suggested in #525

SuchAFuriousDeath avatar Dec 23 '23 15:12 SuchAFuriousDeath