Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newTextEncoder :: MonadDOM m => m TextEncoder
- encode :: (MonadDOM m, ToJSString input) => TextEncoder -> Maybe input -> m Uint8Array
- encode_ :: (MonadDOM m, ToJSString input) => TextEncoder -> Maybe input -> m ()
- getEncoding :: (MonadDOM m, FromJSString result) => TextEncoder -> m result
- newtype TextEncoder = TextEncoder {}
- gTypeTextEncoder :: JSM GType
Documentation
encode :: (MonadDOM m, ToJSString input) => TextEncoder -> Maybe input -> m Uint8Array Source #
encode_ :: (MonadDOM m, ToJSString input) => TextEncoder -> Maybe input -> m () Source #
getEncoding :: (MonadDOM m, FromJSString result) => TextEncoder -> m result Source #
newtype TextEncoder Source #
Functions for this inteface are in JSDOM.TextEncoder.
Instances
PToJSVal TextEncoder Source # | |
Defined in JSDOM.Types pToJSVal :: TextEncoder -> JSVal # | |
PFromJSVal TextEncoder Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> TextEncoder # | |
ToJSVal TextEncoder Source # | |
Defined in JSDOM.Types toJSVal :: TextEncoder -> JSM JSVal # toJSValListOf :: [TextEncoder] -> JSM JSVal # | |
FromJSVal TextEncoder Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe TextEncoder) # fromJSValUnchecked :: JSVal -> JSM TextEncoder # fromJSValListOf :: JSVal -> JSM (Maybe [TextEncoder]) # fromJSValUncheckedListOf :: JSVal -> JSM [TextEncoder] # | |
MakeObject TextEncoder Source # | |
Defined in JSDOM.Types makeObject :: TextEncoder -> JSM Object # | |
IsGObject TextEncoder Source # | |
Defined in JSDOM.Types typeGType :: TextEncoder -> JSM GType |