public interface BitsModbusMessage extends AddressedModbusMessage
| Modifier and Type | Method | Description |
|---|---|---|
static BigInteger |
bitsForBitSet(BitSet set) |
Get a BigInteger for a BitSet.
|
BigInteger |
getBits() |
Get the bits.
|
default boolean |
isBitEnabled(int idx) |
Test if a specific bit is enabled.
|
default BitSet |
toBitSet() |
Get a
BitSet value for the bits data. |
getAddress, getCountequals, getError, getFunction, getUnitId, hashCode, isException, isSameAs, unwrap, validatestatic BigInteger bitsForBitSet(BitSet set)
set - the setBigInteger getBits()
default boolean isBitEnabled(int idx)
idx - the index of the bit to test