{"id":24751971,"url":"https://github.com/aeron-io/simple-binary-encoding","last_synced_at":"2026-02-12T08:09:09.525Z","repository":{"id":10405148,"uuid":"12559641","full_name":"aeron-io/simple-binary-encoding","owner":"aeron-io","description":"Simple Binary Encoding (SBE) - High Performance Message Codec","archived":false,"fork":false,"pushed_at":"2025-04-28T10:10:06.000Z","size":27469,"stargazers_count":3229,"open_issues_count":44,"forks_count":536,"subscribers_count":209,"default_branch":"master","last_synced_at":"2025-04-28T12:04:10.392Z","etag":null,"topics":["c-plus-plus","codec","encoder-decoder","golang","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aeron-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-03T09:13:34.000Z","updated_at":"2025-04-28T10:10:09.000Z","dependencies_parsed_at":"2023-02-13T00:00:57.251Z","dependency_job_id":"d36e239b-d635-4b2a-a991-6e886729b2e9","html_url":"https://github.com/aeron-io/simple-binary-encoding","commit_stats":{"total_commits":3240,"total_committers":116,"mean_commits":27.93103448275862,"dds":"0.46265432098765435","last_synced_commit":"f381fd433319824b8d462c86d00939103d510b5c"},"previous_names":["aeron-io/simple-binary-encoding","real-logic/simple-binary-encoding"],"tags_count":115,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeron-io%2Fsimple-binary-encoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeron-io%2Fsimple-binary-encoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeron-io%2Fsimple-binary-encoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeron-io%2Fsimple-binary-encoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeron-io","download_url":"https://codeload.github.com/aeron-io/simple-binary-encoding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311330,"owners_count":21569009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","codec","encoder-decoder","golang","java"],"created_at":"2025-01-28T10:02:49.393Z","updated_at":"2025-12-18T00:11:05.477Z","avatar_url":"https://github.com/aeron-io.png","language":"Java","readme":"Simple Binary Encoding (SBE)\n============================\n\n[![Javadocs](https://www.javadoc.io/badge/uk.co.real-logic/sbe-tool.svg)](https://www.javadoc.io/doc/uk.co.real-logic/sbe-tool)\n[![GitHub](https://img.shields.io/github/license/aeron-io/simple-binary-encoding.svg)](https://github.com/aeron-io/simple-binary-encoding/blob/master/LICENSE)\n\n[![Actions Status](https://github.com/aeron-io/simple-binary-encoding/workflows/Continuous%20Integration/badge.svg)](https://github.com/aeron-io/simple-binary-encoding/actions)\n[![CodeQL Status](https://github.com/aeron-io/simple-binary-encoding/workflows/CodeQL/badge.svg)](https://github.com/aeron-io/simple-binary-encoding/actions)\n\n[SBE](https://github.com/FIXTradingCommunity/fix-simple-binary-encoding) is an OSI layer 6 presentation for \nencoding and decoding binary application messages for low-latency financial applications. This repository contains \nthe reference implementations in Java, C++, Golang, C#, and Rust.\n\nMore details on the design and usage of SBE can be found on the [Wiki](https://github.com/aeron-io/simple-binary-encoding/wiki).\n\nAn XSD for SBE specs can be found\n[here](https://github.com/aeron-io/simple-binary-encoding/blob/master/sbe-tool/src/main/resources/fpl/sbe.xsd). Please address questions about the specification to the [SBE FIX community](https://github.com/FIXTradingCommunity/fix-simple-binary-encoding).\n\nFor the latest version information and changes see the [Change Log](https://github.com/aeron-io/simple-binary-encoding/wiki/Change-Log) with **downloads** at [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Csbe). \n\nThe Java and C++ SBE implementations work very efficiently with the [Aeron](https://github.com/aeron-io/aeron)\nmessaging system for low-latency and high-throughput communications. The Java SBE implementation has a dependency on\n[Agrona](https://github.com/aeron-io/agrona) for its buffer implementations. Commercial support is available from\n[sales@real-logic.co.uk](mailto:sales@real-logic.co.uk?subject=SBE).\n\nBinaries\n--------\nBinaries and dependency information for Maven, Ivy, Gradle, and others can be found at \n[http://search.maven.org](http://search.maven.org/#search%7Cga%7C1%7Csbe).\n\nExample for Maven:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003euk.co.real-logic\u003c/groupId\u003e\n    \u003cartifactId\u003esbe-tool\u003c/artifactId\u003e\n    \u003cversion\u003e${sbe.tool.version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nBuild\n-----\n\nBuild the project with [Gradle](http://gradle.org/) using this [build.gradle](https://github.com/aeron-io/simple-binary-encoding/blob/master/build.gradle) file.\n\nFull clean build:\n\n    $ ./gradlew\n\nRun the Java examples\n\n    $ ./gradlew runJavaExamples\n\nDistribution\n------------\nJars for the executable, source, and javadoc for the various modules can be found in the following directories:\n\n    sbe-benchmarks/build/libs\n    sbe-samples/build/libs\n    sbe-tool/build/libs\n    sbe-all/build/libs\n\nAn example to execute a Jar from command line using the 'all' jar which includes the Agrona dependency:\n\n    java --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -Dsbe.generate.ir=true -Dsbe.target.language=Cpp -Dsbe.target.namespace=sbe -Dsbe.output.dir=include/gen -Dsbe.errorLog=yes -jar sbe-all/build/libs/sbe-all-${SBE_TOOL_VERSION}.jar my-sbe-messages.xml\n\nC++ Build using CMake\n---------------------\nNOTE: Linux, Mac OS, and Windows only for the moment. See\n[FAQ](https://github.com/aeron-io/simple-binary-encoding/wiki/Frequently-Asked-Questions).\nWindows builds have been tested with Visual Studio Express 12.\n\nFor convenience, the `cppbuild` script does a full clean, build, and test of all targets as a Release build.\n\n    $ ./cppbuild/cppbuild\n\nIf you are comfortable using CMake, then a full clean, build, and test looks like:\n\n    $ mkdir -p cppbuild/Debug\n    $ cd cppbuild/Debug\n    $ cmake ../..\n    $ cmake --build . --clean-first\n    $ ctest\n\n__Note__: The C++ build includes the C generator. Currently, the C generator is a work in progress.\n\nGolang Build\n------------\n\nFirst build using Gradle to generate the SBE jar and then use it to generate the golang code for testing.\n\n    $ ./gradlew\n    $ ./gradlew generateGolangCodecs\n\nFor convenience on Linux, a gnu Makefile is provided that runs some tests and contains some examples.\n\n    $ cd gocode\n    # make # test, examples, bench\n\nGo supports both generating Go structs with encode / decode methods, and flyweights like the other languages. Structs are generated by default for compatibility. Set `sbe.go.generate.generate.flyweights=true` to generate flyweights.\n\nUsers of golang generated code should see the [user\ndocumentation](https://github.com/aeron-io/simple-binary-encoding/wiki/Golang-User-Guide).\n\nDevelopers wishing to enhance the golang generator should see the [developer\ndocumentation](https://github.com/aeron-io/simple-binary-encoding/blob/master/gocode/README.md)\n\nC# Build\n--------\nUsers of CSharp generated code should see the [user documentation](https://github.com/aeron-io/simple-binary-encoding/wiki/Csharp-User-Guide).\n\nDevelopers wishing to enhance the CSharp generator should see the [developer documentation](https://github.com/aeron-io/simple-binary-encoding/blob/master/csharp/README.md)\n\nRust Build\n------------\nThe SBE Rust generator will produce 100% safe rust crates (no `unsafe` code will be generated).  Generated crates do\nnot have any dependencies on any libraries (including no SBE libraries). If you don't yet have Rust installed \nsee [Rust: Getting Started](https://www.rust-lang.org/learn/get-started)\n\nGenerate the Rust codecs\n\n    $ ./gradlew generateRustCodecs\n\nRun the Rust test from Gradle\n\n    $ ./gradlew runRustTests\n\nOr run test directly with `Cargo`\n\n    $ cd rust\n    $ cargo test\n\nLicense (See LICENSE file for full license)\n-------------------------------------------\nCopyright 2013-2025 Real Logic Limited.  \nCopyright 2017 MarketFactory Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeron-io%2Fsimple-binary-encoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeron-io%2Fsimple-binary-encoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeron-io%2Fsimple-binary-encoding/lists"}