GithubHelp home page GithubHelp logo

twx7d3 / simple-binary-encoding Goto Github PK

View Code? Open in Web Editor NEW

This project forked from real-logic/simple-binary-encoding

0.0 1.0 0.0 20.99 MB

Simple Binary Encoding (SBE)

License: Apache License 2.0

C++ 16.35% C# 42.43% Java 40.75% C 0.44% Shell 0.04%

simple-binary-encoding's Introduction

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

http://www.apache.org/licenses/LICENSE-2.0

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

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

Example for Maven:

<dependency>
    <groupId>uk.co.real-logic</groupId>
    <artifactId>sbe</artifactId>
    <version>1.0-RC2</version>
</dependency>

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

main

Unit tests

test

Examples of usage

examples

Build

Full clean build:

$ ant

Run the Java examples

$ ant examples:java

Installing into a local maven (.m2) repository

$ ant maven.install

Distribution

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

target/dist

Android Build

In order to build the android binaries you need to run the android:dist target

$ ant android:dist

As a prerequisite, you need Android SDK to be installed and the path needs to be configured inside build-local.properties file. You need at least Android target 19 (it comes with Java 7 support) and Android build tools version at least 20.0.0. E.g.

android.sdk.dir=/opt/android-sdk-linux
android.target=android-19
android.build.tools.version=20.0.0

Android jars for the codec, source, and javadoc can be found in

target/dist

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's People

Contributors

bjoto avatar csoroiu avatar guillaume-alvarez avatar leecampbell avatar mikeb01 avatar mjpt777 avatar mmcilroy avatar nitsanw avatar qed- avatar slovefatpot avatar tmontgomery avatar yaitskov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.