fromText package:byteslice

Encode Text using UTF-8. Only available when building with text-2.0 and newer. Since Text is backed by a UTF-8 byte sequence, this does not perform a copy.