Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newTextDecoder :: (MonadDOM m, ToJSString label) => Maybe label -> Maybe TextDecoderOptions -> m TextDecoder
- decode :: (MonadDOM m, IsBufferSource input, FromJSString result) => TextDecoder -> Maybe input -> Maybe TextDecodeOptions -> m result
- decode_ :: (MonadDOM m, IsBufferSource input) => TextDecoder -> Maybe input -> Maybe TextDecodeOptions -> m ()
- getEncoding :: (MonadDOM m, FromJSString result) => TextDecoder -> m result
- getFatal :: MonadDOM m => TextDecoder -> m Bool
- getIgnoreBOM :: MonadDOM m => TextDecoder -> m Bool
- newtype TextDecoder = TextDecoder {}
- gTypeTextDecoder :: JSM GType
Documentation
newTextDecoder :: (MonadDOM m, ToJSString label) => Maybe label -> Maybe TextDecoderOptions -> m TextDecoder Source #
decode :: (MonadDOM m, IsBufferSource input, FromJSString result) => TextDecoder -> Maybe input -> Maybe TextDecodeOptions -> m result Source #
decode_ :: (MonadDOM m, IsBufferSource input) => TextDecoder -> Maybe input -> Maybe TextDecodeOptions -> m () Source #
getEncoding :: (MonadDOM m, FromJSString result) => TextDecoder -> m result Source #
getIgnoreBOM :: MonadDOM m => TextDecoder -> m Bool Source #
newtype TextDecoder Source #
Functions for this inteface are in JSDOM.TextDecoder.