Hoogle Search
Within LTS Haskell 24.60 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
decodeUtf8Bytes :: Bytes -> Maybe Countrycountry Country No documentation available.
decodeUtf8BytesIso8601 :: Bytes -> Maybe OffsetDatetimechronos Chronos No documentation available.
decodeUtf8BytesIso8601Zoneless :: Bytes -> Maybe Datetimechronos Chronos Decode an ISO-8601-encode datetime.
decodeUtf8BytesIso8601ZonelessSpaced :: Bytes -> Maybe Datetimechronos Chronos Decode a datetime that is nearly ISO-8601-encoded but uses a space instead of a T to separate the date and the time. For example: 2022-10-29 14:00:05.
decodeUtf8_YmdHMS :: DatetimeFormat -> ByteString -> Maybe Datetimechronos Chronos Decode a Year/Month/Day,Hour/Minute/Second-encoded Datetime from a ByteString.
decodeUtf8_YmdHMS_opt_S :: DatetimeFormat -> ByteString -> Maybe Datetimechronos Chronos Parses text that is formatted as either of the following:
%H:%M
%H:%M:%S
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.