Binary Codec

Summary

Global Namespaces

Reference

void qi::encodeBinary(qi::Buffer* buf, const AutoAnyReference& gvp, SerializeObjectCallback onObject = SerializeObjectCallback()

Brief:

Parameters:
  • buf – buffer that will be filled with serialized data
  • gvp – AnyReference to serialize
  • onObject – callback invoked each time an object is encountered.

Encode content of gvp into buf.

qi::decodeBinary(qi::BufferReader *buf, AnyReference gvp, DeserializeObjectCallback onObject=DeserializeObjectCallback(), StreamContext* ctx = 0)