8 #ifndef WPIUTIL_WPI_LEB128_H_ 9 #define WPIUTIL_WPI_LEB128_H_ 13 #include "wpi/SmallVector.h" 40 uint64_t
WriteUleb128(SmallVectorImpl<char>& dest, uint64_t val);
52 uint64_t
ReadUleb128(
const char* addr, uint64_t* ret);
68 #endif // WPIUTIL_WPI_LEB128_H_ namespace to hold default to_json function
Definition: json_binary_writer.cpp:39
uint64_t WriteUleb128(SmallVectorImpl< char > &dest, uint64_t val)
Write unsigned LEB128 data : the address where the ULEB128 data is to be stored : value to be stored...
Definition: leb128.cpp:23
uint64_t SizeUleb128(uint64_t val)
Get size of unsigned LEB128 data : value.
Definition: leb128.cpp:14
uint64_t ReadUleb128(const char *addr, uint64_t *ret)
Read unsigned LEB128 data : the address where the ULEB128 data is stored : address to store the resul...
Definition: leb128.cpp:40