Class DBus::PacketUnmarshaller
In: lib/dbus/marshall.rb
Parent: Object

D-Bus packet unmarshaller class

Class that handles the conversion (unmarshalling) of payload data to Array.

Methods

align   new   unmarshall  

Attributes

idx  [R]  Index pointer that points to the byte in the data that is currently being processed.

Used to kown what part of the buffer has been consumed by unmarshalling. FIXME: Maybe should be accessed with a "consumed_size" method.

Public Class methods

Create a new unmarshaller for the given data buffer and endianness.

Public Instance methods

Align the pointer index on a byte index of a, where a must be 1, 2, 4 or 8.

Unmarshall the buffer for a given signature and length len. Return an array of unmarshalled objects

[Validate]