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