Sorry to disappoint, but I decided to not implement byte swapping for integers. There's many things in the Modbus spec that have been left to implementers, but this one wasn't. Sorry. Lots of other goodies, there, though:
Sorry to disappoint, but I decided to not implement byte swapping for integers. There's many things in the Modbus spec that have been left to implementers, but this one wasn't. Sorry. Lots of other goodies, there, though: