gi-ostree-1.0.19: OSTree bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.OSTree.Interfaces.BlobReader

Description

No description available in the introspection data.

Synopsis

Exported types

newtype BlobReader Source #

Memory-managed wrapper type.

Instances

Instances details
Eq BlobReader Source # 
Instance details

Defined in GI.OSTree.Interfaces.BlobReader

Methods

(==) :: BlobReader -> BlobReader -> Bool

(/=) :: BlobReader -> BlobReader -> Bool

GObject BlobReader Source # 
Instance details

Defined in GI.OSTree.Interfaces.BlobReader

ManagedPtrNewtype BlobReader Source # 
Instance details

Defined in GI.OSTree.Interfaces.BlobReader

TypedObject BlobReader Source # 
Instance details

Defined in GI.OSTree.Interfaces.BlobReader

Methods

glibType :: IO GType #

HasParentTypes BlobReader Source # 
Instance details

Defined in GI.OSTree.Interfaces.BlobReader

IsGValue (Maybe BlobReader) Source #

Convert BlobReader to and from GValue. See toGValue and fromGValue.

Instance details

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 # 
Instance details

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

Instances details
(GObject o, IsDescendantOf BlobReader o) => IsBlobReader o Source # 
Instance details

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

readBlob

blobReaderReadBlob Source #

Arguments

:: (HasCallStack, MonadIO m, IsBlobReader a, IsCancellable b) 
=> a

self: A OstreeBlobReader

-> Maybe b

cancellable: a Cancellable

-> m (Maybe Bytes)

Returns: A Bytes blob, or Nothing if there are no more (Can throw GError)

Read one blob from the reader, or Nothing if there are no more. On error, error is set and Nothing is returned.

Since: 2016.5