$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] From Big-endian to Little-endian.
From: Mauro Ziliani (mauro_at_[hidden])
Date: 2013-07-15 05:23:46
Hi all.
This is my first post.
I'm working with boost::asio::ip::tcp to dialogate with a peripheral
which send frames grouped in words (16 bit values).
The peripheral uses a big-endian byte-order, while the host uses a
little-endian byte-order.
Is there some template which makes the swap automatically?
Best regards,
Mauro