LLVM 22.0.0git
MsgPackWriter.h File Reference

This file contains a MessagePack writer. More...

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.