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.

  1. decodeUtf8Bytes :: Bytes -> Maybe Country

    country Country

    No documentation available.

  2. decodeUtf8C :: forall (m :: Type -> Type) . MonadThrow m => ConduitT ByteString Text m ()

    classy-prelude-conduit ClassyPrelude.Conduit

    Decode a stream of binary data as UTF8.

  3. 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.

  4. decodeUtf8Strict :: ConvertUtf8 a b => b -> Either UnicodeException a

    incipit-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

  5. decodeUtf8' :: ByteString -> Either UnicodeException Text

    incipit-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.

  6. decodeUtf8With :: OnDecodeError -> ByteString -> Text

    incipit-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.

  7. decodeUtf8' :: forall (m :: Type -> Type) . Monad m => Stream m Word8 -> Stream m Char

    streamly-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.

  8. decodeUtf8Chunks :: forall (m :: Type -> Type) . MonadIO m => Stream m (Array Word8) -> Stream m Char

    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.

  9. decodeUtf8Chunks' :: forall (m :: Type -> Type) . MonadIO m => Stream m (Array Word8) -> Stream m Char

    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''.

  10. decodeUtf8Chunks_ :: forall (m :: Type -> Type) . MonadIO m => Stream m (Array Word8) -> Stream m Char

    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_.

Page 7 of many | Previous | Next