unsafe -package +text

unsafeCopyToPtr :: Text -> Ptr Word16 -> IO ()
text Data.Text.Foreign
O(n) Copy a Text to an array. The array is assumed to be big enough to hold the contents of the entire Text.
unsafeFreeze :: MArray s -> ST s Array
text Data.Text.Array
Freeze a mutable array. Do not mutate the MArray afterwards!
unsafeIndex :: Array -> Int -> Word16
text Data.Text.Array
Unchecked read of an immutable array. May return garbage or crash on an out-of-bounds access.
unsafeWrite :: MArray s -> Int -> Word16 -> ST s ()
text Data.Text.Array
Unchecked write of a mutable array. May return garbage or crash on an out-of-bounds access.