lsst.sphgeom gbd998247f1+585e252eca
Loading...
Searching...
No Matches
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

namespace  lsst::sphgeom
 

Functions

void lsst::sphgeom::encodeDouble (double item, std::vector< uint8_t > &buffer)
 
double lsst::sphgeom::decodeDouble (uint8_t const *buffer)
 
void lsst::sphgeom::encodeU64 (std::uint64_t item, std::vector< uint8_t > &buffer)
 
std::uint64_t lsst::sphgeom::decodeU64 (uint8_t const *buffer)
 

Detailed Description

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