Thrill
0.1
|
CRTP class to enhance item/memory reader classes with Varint decoding and String decoding.
Definition at line 171 of file item_serialization_tools.hpp.
#include <item_serialization_tools.hpp>
Public Member Functions | |
std::string | GetString () |
Fetch a string which was Put via Put_string(). More... | |
uint64_t | GetVarint () |
Fetch a 64-bit varint from the reader at the cursor. More... | |
uint32_t | GetVarint32 () |
Fetch a varint with up to 32-bit from the reader at the cursor. More... | |
uint32_t | PeekVarint32 () const |
Fetch a varint with up to 32-bit from the reader at the cursor. More... | |
|
inline |
Fetch a string which was Put via Put_string().
Definition at line 245 of file item_serialization_tools.hpp.
|
inline |
Fetch a 64-bit varint from the reader at the cursor.
Definition at line 215 of file item_serialization_tools.hpp.
|
inline |
Fetch a varint with up to 32-bit from the reader at the cursor.
Definition at line 175 of file item_serialization_tools.hpp.
|
inline |
Fetch a varint with up to 32-bit from the reader at the cursor.
Definition at line 195 of file item_serialization_tools.hpp.