OSTree.BlobReader

g GObject.GInterface GObject.GInterface OSTree.BlobReader OSTree.BlobReader GObject.GInterface->OSTree.BlobReader

Implementations:

None

Methods

read_blob (cancellable)

Virtual Methods

do_read_blob (cancellable)

Properties

None

Signals

None

Fields

None

Class Details

class OSTree.BlobReader
Bases:

GObject.GInterface

Structure:

OSTree.BlobReaderInterface

read_blob(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – a Gio.Cancellable

Raises:

GLib.Error

Returns:

A GLib.Bytes blob, or None if there are no more

Return type:

GLib.Bytes or None

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

New in version 2016.5.

do_read_blob(cancellable) virtual
Parameters:

cancellable (Gio.Cancellable or None) – a Gio.Cancellable

Returns:

A GLib.Bytes blob, or None if there are no more

Return type:

GLib.Bytes or None

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

New in version 2016.5.