Gsf.InputMemory

g GObject.Object GObject.Object Gsf.Input Gsf.Input GObject.Object->Gsf.Input Gsf.InputMemory Gsf.InputMemory Gsf.Input->Gsf.InputMemory

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new (buf, needs_free)

class

new_clone (buf)

class

new_from_bzip (source)

class

new_from_iochannel (channel)

Virtual Methods

Inherited:

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.InputMemory(**kwargs)
Bases:

Gsf.Input

Abstract:

No

classmethod new(buf, needs_free)
Parameters:
  • buf (bytes) – The input bytes

  • needs_free (bool) – Whether you want this memory to be free’d at object destruction

Returns:

A new Gsf.InputMemory

Return type:

Gsf.Input

classmethod new_clone(buf)
Parameters:

buf (bytes) – The input bytes

Returns:

A new Gsf.InputMemory

Return type:

Gsf.Input

classmethod new_from_bzip(source)
Parameters:

source (Gsf.Input) – a Gsf.Input

Raises:

GLib.Error

Returns:

a new Gsf.InputMemory or None.

Return type:

Gsf.Input

classmethod new_from_iochannel(channel)
Parameters:

channel (GLib.IOChannel) – a GLib.IOChannel.

Raises:

GLib.Error

Returns:

a new Gsf.InputMemory or None.

Return type:

Gsf.Input