Template Function shad::data_types::encode(IN_t&)¶
- Defined in File data_types.h
Function Documentation¶
-
template <typename ENC_t, typename IN_t, data_t DT>
ENC_tshad::data_types
::
encode
(IN_t &in) Encode Function Available specializations: ENC_t = uint64_t, IN_t = std::string.
- Return
- Encoded data.
- Template Parameters
ENC_t
: The type to encode to.IN_t
: The type (format) of the data to encode.DT
: data_types::data_t of the data to encode.
- Parameters
in
: Data to encode.