module DBus
Extended Modules
Defined in:
dbus.crintrospect.cr
signature.cr
Instance Method Summary
-
#signature_split(signature : String) : Array(String)
Split a DBus signature into separate types
-
#type_to_sig(type : UInt8.class) : String
Slight optimization in trivial cases
- #type_to_sig(type : Bool.class) : String
- #type_to_sig(type : Int16.class) : String
- #type_to_sig(type : UInt16.class) : String
- #type_to_sig(type : Int32.class) : String
- #type_to_sig(type : UInt32.class) : String
- #type_to_sig(type : Int64.class) : String
- #type_to_sig(type : UInt64.class) : String
- #type_to_sig(type : Float64.class) : String
- #type_to_sig(type : String.class) : String
- #type_to_sig(type : Variant.class) : String
-
#type_to_sig(type) : String
Convert a Crystal type (limited subset) to a DBus signature
- #variant(value, signature : String | Nil = nil)
Instance Method Detail
def signature_split(signature : String) : Array(String)
#
Split a DBus signature into separate types