Skip to content

Commit 5fa6d57

Browse files
committed
Expose incremental utf8 decoding APIs
1 parent 9ba9c6b commit 5fa6d57

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

core/src/Streamly/Unicode/Stream.hs

+8-1
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,25 @@
7575
--
7676
module Streamly.Unicode.Stream
7777
(
78+
DecodeState
79+
, DecodeError(..)
80+
, CodePoint
81+
7882
-- * Construction (Decoding)
79-
decodeLatin1
83+
, decodeLatin1
8084
, decodeUtf8
8185
, decodeUtf8'
8286
, decodeUtf8Chunks
87+
, decodeUtf8Either
88+
, resumeDecodeUtf8Either
8389

8490
-- * Elimination (Encoding)
8591
, encodeLatin1
8692
, encodeLatin1'
8793
, encodeUtf8
8894
, encodeUtf8'
8995
, encodeStrings
96+
9097
{-
9198
-- * Operations on character strings
9299
, strip -- (dropAround isSpace)

0 commit comments

Comments
 (0)