34 #ifndef LLVM_SUPPORT_MSGPACKREADER_H 35 #define LLVM_SUPPORT_MSGPACKREADER_H 49 enum class Type : uint8_t {
130 size_t remainingSpace() {
133 return static_cast<size_t>(End - Current);
148 #endif // LLVM_SUPPORT_MSGPACKREADER_H
Type
MessagePack types as defined in the standard, with the exception of Integer being divided into a sign...
ExtensionType Extension
Value for Type::Extension.
This class represents lattice values for constants.
Tagged union holding either a T or a Error.
MessagePack object, represented as a tagged union of C++ types.
Reads MessagePack objects from memory, one at a time.
double Float
Value for Type::Float.
int8_t Type
User-defined extension type.
StringRef Raw
Value for Type::String and Type::Binary.
Extension types are composed of a user-defined type ID and an uninterpreted sequence of bytes...
value_type read(const void *memory, endianness endian)
Read a value of a particular endianness from memory.
int64_t Int
Value for Type::Int.
StringRef Bytes
Raw bytes of the extension object.
bool Bool
Value for Type::Boolean.
StringRef - Represent a constant reference to a string, i.e.
uint64_t UInt
Value for Type::Uint.
size_t Length
Value for Type::Array and Type::Map.