https://issues.apache.org/jira/browse/AMQCPP-551

Ensure that the correct number of bytes are read and written to the
stream for char type.