LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Namespaces | Functions
codec.h File Reference

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...
 

Detailed Description

This file contains simple helper functions for encoding and decoding primitive types to/from byte strings.

Definition in file codec.h.