Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newBlob :: (MonadDOM m, IsBlobPart blobParts, IsBlobPropertyBag options) => [blobParts] -> Maybe options -> m Blob
- slice :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Maybe Int64 -> Maybe Int64 -> Maybe contentType -> m Blob
- slice_ :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Maybe Int64 -> Maybe Int64 -> Maybe contentType -> m ()
- getSize :: (MonadDOM m, IsBlob self) => self -> m Word64
- getType :: (MonadDOM m, IsBlob self, FromJSString result) => self -> m result
- newtype Blob = Blob {}
- gTypeBlob :: JSM GType
- class IsGObject o => IsBlob o
- toBlob :: IsBlob o => o -> Blob
Documentation
newBlob :: (MonadDOM m, IsBlobPart blobParts, IsBlobPropertyBag options) => [blobParts] -> Maybe options -> m Blob Source #
slice :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Maybe Int64 -> Maybe Int64 -> Maybe contentType -> m Blob Source #
slice_ :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Maybe Int64 -> Maybe Int64 -> Maybe contentType -> m () Source #
Functions for this inteface are in JSDOM.Blob.
Instances
PToJSVal Blob Source # | |
Defined in JSDOM.Types | |
PFromJSVal Blob Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Blob # | |
ToJSVal Blob Source # | |
FromJSVal Blob Source # | |
MakeObject Blob Source # | |
Defined in JSDOM.Types makeObject :: Blob -> JSM Object # | |
IsBlob Blob Source # | |
Defined in JSDOM.Types | |
IsXMLHttpRequestBody Blob Source # | |
Defined in JSDOM.Types | |
IsMediaProvider Blob Source # | |
Defined in JSDOM.Types | |
IsBodyInit Blob Source # | |
Defined in JSDOM.Types | |
IsBlobPart Blob Source # | |
Defined in JSDOM.Types | |
IsGObject Blob Source # | |
Defined in JSDOM.Types |