Subject: [ggl] Added boost/ggl/util/endian.hpp
From: Mateusz Loskot (mateusz)
Date: 2009-06-13 16:59:12
I've added a small utility in boost/ggl/util/endian.hpp.
It is ggl::endian namespace with endian_value template class which is
used to read/write numeric values from/to stream of bytes across
different combinations of source/target endianness.
I'm using it to implement operations on Well-Known-Binary geometries.
I hope it's OK to include it in utils.
Here I put a small example of usage of the endian_value:
in module endian, file endian_example.cpp.
-- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org
Geometry list run by mateusz at loskot.net