LLVM  8.0.1
Classes | Namespaces
MsgPackWriter.h File Reference

This file contains a MessagePack writer. More...

#include "llvm/BinaryFormat/MsgPack.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for MsgPackWriter.h:
This graph shows which files directly or indirectly include this file:

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

 llvm
 This class represents lattice values for constants.
 
 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.