Safe Haskell | None |
---|---|
Language | Haskell2010 |
- js_newBlob :: IO Blob
- newBlob :: MonadIO m => m Blob
- js_newBlob' :: JSVal -> Nullable BlobPropertyBag -> IO Blob
- newBlob' :: (MonadIO m, IsBlobPropertyBag options) => [JSVal] -> Maybe options -> m Blob
- js_slice :: Blob -> Double -> Double -> Nullable JSString -> IO (Nullable Blob)
- slice :: (MonadIO m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m (Maybe Blob)
- slice_ :: (MonadIO m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m ()
- sliceUnsafe :: (MonadIO m, IsBlob self, ToJSString contentType, HasCallStack) => self -> Int64 -> Int64 -> Maybe contentType -> m Blob
- sliceUnchecked :: (MonadIO m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m Blob
- js_getSize :: Blob -> IO Double
- getSize :: (MonadIO m, IsBlob self) => self -> m Word64
- js_getType :: Blob -> IO JSString
- getType :: (MonadIO m, IsBlob self, FromJSString result) => self -> m result
- newtype Blob = Blob {}
- gTypeBlob :: GType
- class IsGObject o => IsBlob o
- toBlob :: IsBlob o => o -> Blob
Documentation
js_newBlob :: IO Blob Source #
js_newBlob' :: JSVal -> Nullable BlobPropertyBag -> IO Blob Source #
slice :: (MonadIO m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m (Maybe Blob) Source #
slice_ :: (MonadIO m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m () Source #
sliceUnsafe :: (MonadIO m, IsBlob self, ToJSString contentType, HasCallStack) => self -> Int64 -> Int64 -> Maybe contentType -> m Blob Source #
sliceUnchecked :: (MonadIO m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m Blob Source #
Functions for this inteface are in GHCJS.DOM.Blob.