qed- / simple-binary-encoding

Simple Binary Encoding (SBE)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Binary Encoding (SBE)

SBE is OSI layer 6 presentation for encoding and decoding application messages in binary format for low-latency applications.

Further details on the background and usage of SBE can be found on the Wiki.

Benchmark tools and information can be found here and run from he root perf-build.xml file.

An XSD for SBE specs can be found here

License (See LICENSE file for full license)

Copyright 2013 Real Logic Limited

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Binaries and dependency information for Maven, Ivy, Gradle, and others can be found at http://search.maven.org.

Example for Maven:


For .NET, you will find the binaries on NuGet

Search for 'SBE' in NuGet or run the following command line in the NuGet console

Install-Package Adaptive.SBE

Directory Layout

Main source code


Unit tests


Examples of usage



Full clean build:

$ ant

Run the Java examples

$ ant examples:java

Installing into a local maven (.m2) repository

$ ant maven.install


Jars for the executable, source, and javadoc can be found in


C++ Build

NOTE: Linux, Mac OS, and Windows only for the moment. See FAQ. Windows builds have been tested with Visual Studio Express 12.

Dependent build:

$ ant cpp:test

If you have doxygen installed:

$ ant cpp

Run the C++98 examples

$ ant examples:cpp

C# Build

See readme.md in vs2013 directory


Simple Binary Encoding (SBE)

License:Apache License 2.0


Language:C# 46.5%Language:Java 36.1%Language:C++ 16.9%Language:C 0.5%Language:Shell 0.0%