Class DictEntryEncoder<KeyT extends DBusBasicType,ValueT extends DBusType>

java.lang.Object
com.lucimber.dbus.codec.encoder.DictEntryEncoder<KeyT,ValueT>
Type Parameters:
KeyT - The data type of the key.
ValueT - The data type of the value.
All Implemented Interfaces:
Encoder<DBusDictEntry<KeyT,ValueT>,ByteBuffer>

public final class DictEntryEncoder<KeyT extends DBusBasicType,ValueT extends DBusType> extends Object implements Encoder<DBusDictEntry<KeyT,ValueT>,ByteBuffer>
An encoder which encodes a key-value pair to the D-Bus marshalling format using ByteBuffer.
See Also:
  • Constructor Details

    • DictEntryEncoder

      public DictEntryEncoder(ByteOrder order, DBusSignature signature)
      Constructs a new instance with mandatory parameters.
      Parameters:
      order - The byte order of the produced bytes.
      signature - The signature of the dictionary entry.
  • Method Details