Module: DBus::Type

Defined in:
lib/dbus/type.rb

Overview

D-Bus type module

This module containts the constants of the types specified in the D-Bus protocol.

Defined Under Namespace

Classes: Parser, SignatureException, Type

Constant Summary collapse

TypeMapping =

Mapping from type number to name and alignment.

{
  0 => ["INVALID", nil],
  ?y => ["BYTE", 1],
  ?b => ["BOOLEAN", 4],
  ?n => ["INT16", 2],
  ?q => ["UINT16", 2],
  ?i => ["INT32", 4],
  ?u => ["UINT32", 4],
  ?x => ["INT64", 8],
  ?t => ["UINT64", 8],
  ?d => ["DOUBLE", 8],
  ?r => ["STRUCT", 8],
  ?a => ["ARRAY", 4],
  ?v => ["VARIANT", 1],
  ?o => ["OBJECT_PATH", 4],
  ?s => ["STRING", 4],
  ?g => ["SIGNATURE", 1],
  ?e => ["DICT_ENTRY", 8],
  ?h => ["UNIX_FD", 4],
}