---------------------------------------------------------------------- EncodeDouble() EncodeFloat() EncodeUint32() EncodeUint64() DecodeDouble() DecodeFloat() DecodeUint32() DecodeUint64() The Encode* functions store the bytes of ints, floats or doubles into the data bytes of a C++ string. The Decode* functions perform the reverse operations, but operate on a StringPiece rather than directly on a
| 270 | // Note that these encodings are NOT endian-neutral. |
| 271 | // ---------------------------------------------------------------------- |
| 272 | inline string EncodeDouble(double d) { |
| 273 | return EncodePOD(d); |
| 274 | } |
| 275 | |
| 276 | inline string EncodeFloat(float f) { |
| 277 | return EncodePOD(f); |
nothing calls this directly
no test coverage detected