Gsf.StructuredBlob

g GObject.Object GObject.Object Gsf.Input Gsf.Input GObject.Object->Gsf.Input Gsf.Infile Gsf.Infile Gsf.StructuredBlob Gsf.StructuredBlob Gsf.Infile->Gsf.StructuredBlob Gsf.Input->Gsf.Infile

Subclasses:

None

Methods

Inherited:

Gsf.Infile (5), Gsf.Input (24), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

read (input)

write (container)

Virtual Methods

Inherited:

Gsf.Infile (2), Gsf.Input (3), GObject.Object (7)

Properties

Inherited:

Gsf.Input (7)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gsf.StructuredBlob(**kwargs)
Bases:

Gsf.Infile

Abstract:

No

classmethod read(input)
Parameters:

input (Gsf.Input) – An input (potentially a Gsf.Infile) holding the blob

Returns:

a new Gsf.StructuredBlob object which the caller is responsible for.

Return type:

Gsf.StructuredBlob

Create a tree of binary blobs with unknown content from a Gsf.Input or Gsf.Infile and store it in a newly created Gsf.StructuredBlob.

write(container)
Parameters:

container (Gsf.Outfile) – Gsf.Outfile

Returns:

True on success.

Return type:

bool

Dumps structured blob self onto the container. Will fail if the output is not an Outfile and blob has multiple streams.