Frequently Asked Questions · aeron-io/simple-binary-encoding Wiki · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Frequently Asked Questions

b88d80170 edited this page May 7, 2018 · 14 revisions

1. Why can't I randomly access fields within a message?

One of the design principles for SBE is to stream through messages in a ascending sequential access pattern for performance reasons.

2. What are the targets for C++?

There are a number of ant targets for C++ that use cpptask for compilation. The ant cpp:test target compiles and run tests on Linux (Ubuntu 16.04 LTS) fine. There is some compiler warns on the generated code about signed/unsigned compares. Those are OK for now and will be cleaned up. Here are the various targets related to cpp.

  • cpp: compile OTF files, tests, run tests, generate Doxygen doc, and package doc into zip

  • cpp:test: compile cpp OTF files, compile Google Test files, run unit tests for OTF decoder

  • cpp:doc: generate Doxygen doc for OTF decoder

  • cpp:dist: generate Doxygen doc for OTF decoder and package into zip

  • examples:cpp: compiles and runs generated and OTF decoder examples

  • cpp:examples:gen: compile and run cpp example

  • cpp:examples:otf: compile and run cpp OTF decoder example

NOTE: Doxygen is required. If you don't have it, the cpp target will not succeed. But cpp:test should still work.

3. What if a 3rd party schema contains names that are language keywords?

Some 3rd parties have not considered that the names they use could cause a clash with language keywords such as Java final. Generated property names that clash with keywords can have a string appended, such as the _ character, by setting the sbe.keyword.append.token system property when running the SbeTool. The templates_FixBinary.xml from the CME is such an example.

Clone this wiki locally

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.