LLVM 20.0.0git
Namespaces | Classes | Enumerations | Variables
llvm::msgpack Namespace Reference

Namespaces

namespace  FirstByte
 The first byte identifiers of MessagePack object formats.
 
namespace  FixBits
 Most significant bits used to identify "Fix" variants in MessagePack.
 
namespace  FixBitsMask
 Mask of bits used to identify "Fix" variants in MessagePack.
 
namespace  FixLen
 The exact size encodable in "Fix" variants of formats.
 
namespace  FixMax
 The maximum value or size encodable in "Fix" variants of formats.
 
namespace  FixMin
 The minimum value or size encodable in "Fix" variants of formats.
 

Classes

class  ArrayDocNode
 A DocNode that is an array. More...
 
class  DocNode
 A node in a MsgPack Document. More...
 
class  Document
 Simple in-memory representation of a document of msgpack objects with ability to find and create array and map elements. More...
 
struct  ExtensionType
 Extension types are composed of a user-defined type ID and an uninterpreted sequence of bytes. More...
 
struct  KindAndDocument
 The kind of a DocNode and its owning Document. More...
 
class  MapDocNode
 A DocNode that is a map. More...
 
struct  Object
 MessagePack object, represented as a tagged union of C++ types. More...
 
class  Reader
 Reads MessagePack objects from memory, one at a time. More...
 
class  Writer
 Writes MessagePack objects to an output stream, one at a time. More...
 

Enumerations

enum class  Type : uint8_t {
  Int , UInt , Nil , Boolean ,
  Float , String , Binary , Array ,
  Map , Extension , Empty
}
 MessagePack types as defined in the standard, with the exception of Integer being divided into a signed Int and unsigned UInt variant in order to map directly to C++ types. More...
 

Variables

constexpr llvm::endianness Endianness = llvm::endianness::big
 The endianness of all multi-byte encoded values in MessagePack.
 

Enumeration Type Documentation

◆ Type

enum class llvm::msgpack::Type : uint8_t
strong

MessagePack types as defined in the standard, with the exception of Integer being divided into a signed Int and unsigned UInt variant in order to map directly to C++ types.

The types map onto corresponding union members of the Object struct.

Enumerator
Int 
UInt 
Nil 
Boolean 
Float 
String 
Binary 
Array 
Map 
Extension 
Empty 

Definition at line 53 of file MsgPackReader.h.

Variable Documentation

◆ Endianness

constexpr llvm::endianness llvm::msgpack::Endianness = llvm::endianness::big
constexpr

The endianness of all multi-byte encoded values in MessagePack.

Definition at line 24 of file MsgPack.h.