account for null-terminator character (#275)
account for null-terminator character (#275)

* account for null-terminator when padding

* Revert "account for null-terminator when padding"

This reverts commit a5759d95a8b110776104db2c9b8cb0c2d43307c4.

* allocate and set buffer size to account for the null terminator

* minlength should always be smaller than maxlength

* test that value orders are consistent as well

* reinterpret_cast -> static_cast

ros2/rosidl,ros2/rosidl,ros2/rosidl,ros2/rosidl