Class UInt16Encoder

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

public final class UInt16Encoder extends Object implements Encoder<DBusUInt16,ByteBuffer>
An encoder which encodes an unsigned 16-bit integer to the D-Bus marshalling format using ByteBuffer.
See Also:
  • Constructor Details

    • UInt16Encoder

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