| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.OSTree.Interfaces.BlobReader
Contents
Description
No description available in the introspection data.
Synopsis
- newtype BlobReader = BlobReader (ManagedPtr BlobReader)
- class (GObject o, IsDescendantOf BlobReader o) => IsBlobReader o
- toBlobReader :: (MonadIO m, IsBlobReader o) => o -> m BlobReader
- blobReaderReadBlob :: (HasCallStack, MonadIO m, IsBlobReader a, IsCancellable b) => a -> Maybe b -> m Bytes
Exported types
newtype BlobReader Source #
Memory-managed wrapper type.
Constructors
| BlobReader (ManagedPtr BlobReader) |
Instances
| Eq BlobReader Source # | |
Defined in GI.OSTree.Interfaces.BlobReader | |
| GObject BlobReader Source # | |
Defined in GI.OSTree.Interfaces.BlobReader | |
| ManagedPtrNewtype BlobReader Source # | |
Defined in GI.OSTree.Interfaces.BlobReader Methods toManagedPtr :: BlobReader -> ManagedPtr BlobReader | |
| TypedObject BlobReader Source # | |
Defined in GI.OSTree.Interfaces.BlobReader Methods glibType :: IO GType | |
| HasParentTypes BlobReader Source # | |
Defined in GI.OSTree.Interfaces.BlobReader | |
| IsGValue (Maybe BlobReader) Source # | Convert |
Defined in GI.OSTree.Interfaces.BlobReader Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe BlobReader -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe BlobReader) | |
| type ParentTypes BlobReader Source # | |
Defined in GI.OSTree.Interfaces.BlobReader type ParentTypes BlobReader = '[Object] | |
class (GObject o, IsDescendantOf BlobReader o) => IsBlobReader o Source #
Type class for types which can be safely cast to BlobReader, for instance with toBlobReader.
Instances
| (GObject o, IsDescendantOf BlobReader o) => IsBlobReader o Source # | |
Defined in GI.OSTree.Interfaces.BlobReader | |
toBlobReader :: (MonadIO m, IsBlobReader o) => o -> m BlobReader Source #
Cast to BlobReader, for types for which this is known to be safe. For general casts, use castTo.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, readBlob, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata.
Setters
readBlob
Arguments
| :: (HasCallStack, MonadIO m, IsBlobReader a, IsCancellable b) | |
| => a | |
| -> Maybe b | |
| -> m Bytes | (Can throw |
No description available in the introspection data.