Gsf.OutputMemory

g GObject.Object GObject.Object Gsf.Output Gsf.Output GObject.Object->Gsf.Output Gsf.OutputMemory Gsf.OutputMemory Gsf.Output->Gsf.OutputMemory

Subclasses:

None

Methods

Inherited:

Gsf.Output (18), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_bytes ()

steal_bytes ()

Virtual Methods

Inherited:

Gsf.Output (3), GObject.Object (7)

Properties

Inherited:

Gsf.Output (6)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gsf.OutputMemory(**kwargs)
Bases:

Gsf.Output

Abstract:

No

classmethod new()
Returns:

a new file.

Return type:

Gsf.Output or None

get_bytes()
Returns:

The data that has been written to self

Return type:

bytes or None

steal_bytes()
Returns:

The data that has been written to self. The caller takes ownership and the buffer belonging to self is set to None.

Return type:

bytes or None