Package com.lucimber.dbus.type
Class TypeUtils
java.lang.Object
com.lucimber.dbus.type.TypeUtils
A utility class that provides useful methods in conjunction with the D-Bus data types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<TypeAlignment>
getAlignmentFromChar
(char c) Gets the type's alignment from its char.getCodeFromChar
(char c) Gets the type's code from its char.getTypeFromChar
(char c) Gets the type from its type char.getTypeFromCode
(TypeCode code) Gets the type from its type code.
-
Method Details
-
getAlignmentFromChar
Gets the type's alignment from its char.- Parameters:
c
- aCharacter
- Returns:
- an
Optional
ofTypeAlignment
-
getCodeFromChar
Gets the type's code from its char. -
getTypeFromChar
Gets the type from its type char. -
getTypeFromCode
Gets the type from its type code.
-