An open API service indexing awesome lists of open source software.

https://github.com/igorsaux/bt

C++ BYOND topic encoder library
https://github.com/igorsaux/bt

byond cxx cxx20 net network ss13

Last synced: about 1 month ago
JSON representation

C++ BYOND topic encoder library

Awesome Lists containing this project

README

        

# BT

![CMake](https://img.shields.io/badge/CMake-%23008FBA.svg?style=for-the-badge&logo=cmake&logoColor=white)

A C++ library for decoding/encoding the binary "BYOND Topic" format. It supports both the response and request
packets.

There is also a command line tool for sending "topics".

## Requirements

- GCC 14 / MSVC 19.0
- CMake 3.28 or newer
- Ninja

## Building

```sh
cmake -G Ninja -B ./cmake-build -DCMAKE_BUILD_TYPE=Release
```

```sh
cmake --build ./cmake-build
```

## Testing

Tests written with [Catch2](https://github.com/catchorg/Catch2), which can be installed with vcpkg. Configure with
`-DBT_TESTS:BOOL=ON` to enable them.