text / Data / Text / Encoding.hs

Diff from to

File Data/Text/Encoding.hs

   desc = "Data.Text.Encoding.decodeUtf8: Invalid UTF-8 stream"
 {-# INLINE[0] decodeUtf8With #-}
--- | Decode a 'ByteString' containing known-valid UTF-8 encoded text.
+-- | Decode a 'ByteString' containing UTF-8 encoded text that is known
+-- to be valid.
 -- If the input contains any invalid UTF-8 data, an exception will be
 -- thrown that cannot be caught in pure code.  For more control over