module

DBus

Instance methods

signature_split(signature : String) : Array(String)

Split a DBus signature into separate types

Source
type_to_sig(type : UInt8.class) : String

Slight optimization in trivial cases

Source
type_to_sig(type : Bool.class) : String
Source
type_to_sig(type : Int16.class) : String
Source
type_to_sig(type : UInt16.class) : String
Source
type_to_sig(type : Int32.class) : String
Source
type_to_sig(type : UInt32.class) : String
Source
type_to_sig(type : Int64.class) : String
Source
type_to_sig(type : UInt64.class) : String
Source
type_to_sig(type : Float64.class) : String
Source
type_to_sig(type : String.class) : String
Source
type_to_sig(type : Variant.class) : String
Source
type_to_sig(type) : String

Convert a Crystal type (limited subset) to a DBus signature

Source
variant(value, signature : String | Nil = nil)
Source

Nested types