This file contains simple helper functions for encoding and decoding primitive types to/from byte strings. More...
#include <vector>#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | lsst::sphgeom |
Functions | |
| void | lsst::sphgeom::encodeDouble (double item, std::vector< std::uint8_t > &buffer) |
| double | lsst::sphgeom::decodeDouble (std::uint8_t const *buffer) |
| void | lsst::sphgeom::encodeU64 (std::uint64_t item, std::vector< std::uint8_t > &buffer) |
| std::uint64_t | lsst::sphgeom::decodeU64 (std::uint8_t const *buffer) |
This file contains simple helper functions for encoding and decoding primitive types to/from byte strings.