Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newFileReaderSync :: MonadDOM m => m FileReaderSync
- readAsArrayBuffer :: (MonadDOM m, IsBlob blob) => FileReaderSync -> blob -> m ArrayBuffer
- readAsArrayBuffer_ :: (MonadDOM m, IsBlob blob) => FileReaderSync -> blob -> m ()
- readAsBinaryString :: (MonadDOM m, IsBlob blob, FromJSString result) => FileReaderSync -> blob -> m result
- readAsBinaryString_ :: (MonadDOM m, IsBlob blob) => FileReaderSync -> blob -> m ()
- readAsText :: (MonadDOM m, IsBlob blob, ToJSString encoding, FromJSString result) => FileReaderSync -> blob -> Maybe encoding -> m result
- readAsText_ :: (MonadDOM m, IsBlob blob, ToJSString encoding) => FileReaderSync -> blob -> Maybe encoding -> m ()
- readAsDataURL :: (MonadDOM m, IsBlob blob, FromJSString result) => FileReaderSync -> blob -> m result
- readAsDataURL_ :: (MonadDOM m, IsBlob blob) => FileReaderSync -> blob -> m ()
- newtype FileReaderSync = FileReaderSync {}
- gTypeFileReaderSync :: JSM GType
Documentation
readAsArrayBuffer :: (MonadDOM m, IsBlob blob) => FileReaderSync -> blob -> m ArrayBuffer Source #
readAsArrayBuffer_ :: (MonadDOM m, IsBlob blob) => FileReaderSync -> blob -> m () Source #
readAsBinaryString :: (MonadDOM m, IsBlob blob, FromJSString result) => FileReaderSync -> blob -> m result Source #
readAsBinaryString_ :: (MonadDOM m, IsBlob blob) => FileReaderSync -> blob -> m () Source #
readAsText :: (MonadDOM m, IsBlob blob, ToJSString encoding, FromJSString result) => FileReaderSync -> blob -> Maybe encoding -> m result Source #
readAsText_ :: (MonadDOM m, IsBlob blob, ToJSString encoding) => FileReaderSync -> blob -> Maybe encoding -> m () Source #
readAsDataURL :: (MonadDOM m, IsBlob blob, FromJSString result) => FileReaderSync -> blob -> m result Source #
readAsDataURL_ :: (MonadDOM m, IsBlob blob) => FileReaderSync -> blob -> m () Source #
newtype FileReaderSync Source #
Functions for this inteface are in JSDOM.FileReaderSync.
Instances
PToJSVal FileReaderSync Source # | |
Defined in JSDOM.Types pToJSVal :: FileReaderSync -> JSVal # | |
PFromJSVal FileReaderSync Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> FileReaderSync # | |
ToJSVal FileReaderSync Source # | |
Defined in JSDOM.Types toJSVal :: FileReaderSync -> JSM JSVal # toJSValListOf :: [FileReaderSync] -> JSM JSVal # | |
FromJSVal FileReaderSync Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe FileReaderSync) # fromJSValUnchecked :: JSVal -> JSM FileReaderSync # fromJSValListOf :: JSVal -> JSM (Maybe [FileReaderSync]) # fromJSValUncheckedListOf :: JSVal -> JSM [FileReaderSync] # | |
MakeObject FileReaderSync Source # | |
Defined in JSDOM.Types makeObject :: FileReaderSync -> JSM Object # | |
IsGObject FileReaderSync Source # | |
Defined in JSDOM.Types typeGType :: FileReaderSync -> JSM GType |