Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
decodeUtf8Bytes :: Bytes -> Maybe Countrycountry Country No documentation available.
decodeUtf8C :: forall (m :: Type -> Type) . MonadThrow m => ConduitT ByteString Text m ()classy-prelude-conduit ClassyPrelude.Conduit Decode a stream of binary data as UTF8.
decodeUtf8LenientC :: forall (m :: Type -> Type) . Monad m => ConduitT ByteString Text m ()classy-prelude-conduit ClassyPrelude.Conduit Decode a stream of binary data as UTF8, replacing any invalid bytes with the Unicode replacement character.
decodeUtf8Strict :: ConvertUtf8 a b => b -> Either UnicodeException aincipit-base Incipit.String.Conversion Decode as utf8 string but returning execption if byte sequence is malformed. #if MIN_VERSION_text(1,2,3) >>> decodeUtf8 Text ByteString "208208176209130208176208186" "655331072109010721082" #else >>> decodeUtf8 Text ByteString "208208176209130208176208186" "6553365533109010721082" #endif >>> decodeUtf8Strict Text ByteString "208208176209130208176208186" Left Cannot decode byte 'xd0': Data.Text.Internal.Encoding.decodeUtf8: Invalid UTF-8 stream
decodeUtf8' :: ByteString -> Either UnicodeException Textincipit-base Incipit.String.Reexport Decode a ByteString containing UTF-8 encoded text. If the input contains any invalid UTF-8 data, the relevant exception will be returned, otherwise the decoded text.
decodeUtf8With :: OnDecodeError -> ByteString -> Textincipit-base Incipit.String.Reexport Decode a ByteString containing UTF-8 encoded text. Surrogate code points in replacement character returned by OnDecodeError will be automatically remapped to the replacement char U+FFFD.
decodeUtf8' :: forall (m :: Type -> Type) . Monad m => Stream m Word8 -> Stream m Charstreamly-core Streamly.Internal.Unicode.Stream Decode a UTF-8 encoded bytestream to a stream of Unicode characters. The function throws an error if an invalid codepoint is encountered.
-
streamly-core Streamly.Internal.Unicode.Stream Like decodeUtf8 but for a chunked stream. It may be slightly faster than flattening the stream and then decoding with decodeUtf8.
-
streamly-core Streamly.Internal.Unicode.Stream Like 'decodeUtf8'' but for a chunked stream. It may be slightly faster than flattening the stream and then decoding with 'decodeUtf8''.
-
streamly-core Streamly.Internal.Unicode.Stream Like decodeUtf8_ but for a chunked stream. It may be slightly faster than flattening the stream and then decoding with decodeUtf8_.