Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.