Decode a value from a given buffer, advances data past the returned value. Throws on error.
Declared in <folly/Varint.h>
<folly/Varint.h>
template<class T> uint64_t decodeVarint(Range<T*>& data);
The decoded value.