Skip to content

Commit

Permalink
Expose incremental utf8 decoding APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
rnjtranjan committed Jun 21, 2023
1 parent 9ba9c6b commit 5fa6d57
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion core/src/Streamly/Unicode/Stream.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,25 @@
--
module Streamly.Unicode.Stream
(
DecodeState
, DecodeError(..)
, CodePoint

-- * Construction (Decoding)
decodeLatin1
, decodeLatin1
, decodeUtf8
, decodeUtf8'
, decodeUtf8Chunks
, decodeUtf8Either
, resumeDecodeUtf8Either

-- * Elimination (Encoding)
, encodeLatin1
, encodeLatin1'
, encodeUtf8
, encodeUtf8'
, encodeStrings

{-
-- * Operations on character strings
, strip -- (dropAround isSpace)
Expand Down

0 comments on commit 5fa6d57

Please sign in to comment.