Template implementation of variable-length integers, following the same format as Google's Protobufs. More...
Go to the source code of this file.
Classes | |
struct | nrg::TVarint< T, class > |
Default undeclared template instance to cause a compilation error for non-integer types. More... | |
struct | nrg::TVarint< T, typename std::enable_if< std::is_unsigned< T >::value >::type > |
Varint template specialisation for unsigned types. More... | |
struct | nrg::TVarint< T, typename std::enable_if< std::is_signed< T >::value >::type > |
Varint template specialisation for signed types that requre zigzagging. More... | |
Typedefs | |
typedef TVarint< uint64_t > | nrg::UVarint |
Typedef for unsigned varints. | |
typedef TVarint< int64_t > | nrg::SVarint |
Typedef for signed varints. | |