CopernicaMarketingSoftware/AMQP-CPP

Wrong byte order for FLOAT and DOUBLE types in headers

Opened this issue · 0 comments

Describe the bug
Implementation of InBuffer::nextFloat(), InBuffer::nextDouble() and OutBuffer::add(float value), OutBuffer::add(double value) don't use byte order correction.

Expected behavior and actual behavior
Readed four byte FLOAT or eight byte DOUBLE corrected as expected for host platform.