Class Int16Encoder

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

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

    • Int16Encoder

      public Int16Encoder(ByteOrder order)
      Constructs a new instance with mandatory parameter.
      Parameters:
      order - The byte order for encoding.
  • Method Details