Class BooleanEncoder

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

public final class BooleanEncoder extends Object implements Encoder<DBusBoolean,ByteBuffer>
An encoder which encodes a boolean to the D-Bus marshalling format using ByteBuffer.
  • Constructor Details

    • BooleanEncoder

      public BooleanEncoder(ByteOrder order)
      Constructs a new instance with mandatory parameter.
      Parameters:
      order - The order of the produced bytes.
  • Method Details