LLVM 19.0.0git
Classes | Namespaces
MsgPackWriter.h File Reference

This file contains a MessagePack writer. More...

#include "llvm/Support/EndianStream.h"
#include "llvm/Support/MemoryBufferRef.h"

Go to the source code of this file.

Classes

class  llvm::msgpack::Writer
 Writes MessagePack objects to an output stream, one at a time. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::msgpack
 

Detailed Description

This file contains a MessagePack writer.

See https://github.com/msgpack/msgpack/blob/master/spec.md for the full specification.

Typical usage:

raw_ostream output = GetOutputStream();
msgpack::Writer MPWriter(output);
MPWriter.writeNil();
MPWriter.write(false);
MPWriter.write("string");
// ...

Definition in file MsgPackWriter.h.