Treat an an array of Word8 as Text.
This function is unsafe: the caller must ensure that the Array Word8 is a
valid UTF-8 encoding.
This function unwraps the Array and wraps it with Text constructors and
hence the operation is performed in constant time.