Class StructEncoder

java.lang.Object
com.lucimber.dbus.codec.encoder.StructEncoder
All Implemented Interfaces:
Encoder<DBusStruct,ByteBuffer>

public final class StructEncoder extends Object implements Encoder<DBusStruct,ByteBuffer>
An encoder which encodes a struct to the D-Bus marshalling format using ByteBuffer.
See Also:
  • Constructor Details

    • StructEncoder

      public StructEncoder(ByteOrder order, DBusSignature signature)
      Constructs a new instance with mandatory parameter.
      Parameters:
      order - the byte order of the produced bytes
      signature - the signature of the struct being encoded
  • Method Details