Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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.
Instances
PToJSVal TextDecoder Source # | |
Defined in JSDOM.Types pToJSVal :: TextDecoder -> JSVal # | |
PFromJSVal TextDecoder Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> TextDecoder # | |
ToJSVal TextDecoder Source # | |
Defined in JSDOM.Types toJSVal :: TextDecoder -> JSM JSVal # toJSValListOf :: [TextDecoder] -> JSM JSVal # | |
FromJSVal TextDecoder Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe TextDecoder) # fromJSValUnchecked :: JSVal -> JSM TextDecoder # fromJSValListOf :: JSVal -> JSM (Maybe [TextDecoder]) # fromJSValUncheckedListOf :: JSVal -> JSM [TextDecoder] # | |
MakeObject TextDecoder Source # | |
Defined in JSDOM.Types makeObject :: TextDecoder -> JSM Object # | |
IsGObject TextDecoder Source # | |
Defined in JSDOM.Types typeGType :: TextDecoder -> JSM GType |