Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newBlob :: MonadDOM m => m Blob
- newBlob' :: (MonadDOM m, IsBlobPropertyBag options) => [JSVal] -> Maybe options -> m Blob
- slice :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m (Maybe Blob)
- slice_ :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m ()
- sliceUnsafe :: (MonadDOM m, IsBlob self, ToJSString contentType, HasCallStack) => self -> Int64 -> Int64 -> Maybe contentType -> m Blob
- sliceUnchecked :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m Blob
- 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
slice :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m (Maybe Blob) Source #
slice_ :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m () Source #
sliceUnsafe :: (MonadDOM m, IsBlob self, ToJSString contentType, HasCallStack) => self -> Int64 -> Int64 -> Maybe contentType -> m Blob Source #
sliceUnchecked :: (MonadDOM m, IsBlob self, ToJSString contentType) => self -> Int64 -> Int64 -> Maybe contentType -> m Blob Source #
Functions for this inteface are in JSDOM.Blob.