Currently it must be constructed from a `str`, it would be nice for FFI if we had `from_utf8` and `from_utf16` like the others.