Design principles for SBE, the ultra-low latency marshaling API

A SBE flyweight behaves a bit like a stencil, you position it over a wall (byte array) at the right place (offset) and then you can paint (encode) very quickly! If you have not heard about Simple Binary Encoding (SBE) before you should read this overview first. The design of SBE applies some interesting techniques, combines them in a simple solution and is super hardware friendly.

Simple Binary Encoding, a new ultra-fast marshalling API in C++, Java and .NET