@@ -213,6 +213,8 @@ decodeUtf8With onErr (PS fp off len) = runText $ \done -> do
213213-- or continuation where it is encountered.
214214
215215-- | A stream oriented decoding result.
216+--
217+-- @since 1.0.0.0
216218data Decoding = Some Text ByteString (ByteString -> Decoding)
217219
218220instance Show Decoding where
@@ -232,11 +234,15 @@ newtype DecoderState = DecoderState Word32 deriving (Eq, Show, Num, Storable)
232234-- thrown (either by this function or a continuation) that cannot be
233235-- caught in pure code. For more control over the handling of invalid
234236-- data, use 'streamDecodeUtf8With'.
237+--
238+-- @since 1.0.0.0
235239streamDecodeUtf8 :: ByteString -> Decoding
236240streamDecodeUtf8 = streamDecodeUtf8With strictDecode
237241
238242-- | Decode, in a stream oriented way, a 'ByteString' containing UTF-8
239243-- encoded text.
244+--
245+-- @since 1.0.0.0
240246streamDecodeUtf8With :: OnDecodeError -> ByteString -> Decoding
241247streamDecodeUtf8With onErr = decodeChunk B.empty 0 0
242248 where