Class DoubleEncoder

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

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

    • DoubleEncoder

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