LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
This file contains simple helper functions for encoding and decoding primitive types to/from byte strings. More...
#include <vector>
Go to the source code of this file.
Namespaces | |
lsst | |
A base class for image defects. | |
lsst::sphgeom | |
Functions | |
void | lsst::sphgeom::encodeDouble (double item, std::vector< uint8_t > &buffer) |
encode appends an IEEE double in little-endian byte order to the end of buffer. More... | |
double | lsst::sphgeom::decodeDouble (uint8_t const *buffer) |
decode extracts an IEEE double from the 8 byte little-endian byte sequence in buffer. More... | |
This file contains simple helper functions for encoding and decoding primitive types to/from byte strings.
Definition in file codec.h.