PHPackages                             sysbot/bin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. sysbot/bin

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

sysbot/bin
==========

Basic binary serialization/de-serialization utilities, providing support for both 32-bit and 64-bit PHP versions.

1.1.2(3y ago)06LGPL-3.0-or-laterPHP

Since Apr 18Pushed 3y agoCompare

[ Source](https://github.com/Sysbot-org/bin)[ Packagist](https://packagist.org/packages/sysbot/bin)[ RSS](/packages/sysbot-bin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Sysbot-bin
==========

[](#sysbot-bin)

[![License](https://camo.githubusercontent.com/dfaa974ef97eb6aa46d54af8320792009b743100ec414e64065fad9fd7452831/687474703a2f2f706f7365722e707567782e6f72672f737973626f742f62696e2f6c6963656e7365)](https://packagist.org/packages/sysbot/bin)[![Required PHP Version](https://camo.githubusercontent.com/56459bbfbd0df4a3174c560184292e4fb0a900ce4c7f54be3159c707f42925d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d254532253839254135382e302d627269676874677265656e)](https://camo.githubusercontent.com/56459bbfbd0df4a3174c560184292e4fb0a900ce4c7f54be3159c707f42925d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d254532253839254135382e302d627269676874677265656e)[![Latest Stable Version](https://camo.githubusercontent.com/b26ad98b0aa8949dea6def1b478a010410b4fc7adbcc5d564a43062d2988995b/687474703a2f2f706f7365722e707567782e6f72672f737973626f742f62696e2f76)](https://packagist.org/packages/sysbot/bin)[![Tests](https://github.com/Sysbot-org/bin/workflows/Tests/badge.svg)](https://github.com/Sysbot-org/bin/actions)[![Dependencies](https://camo.githubusercontent.com/5f29de2a82a832eedb63a0329fc67ff74f977cc72055bf3e3183b86f282f187e/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f6769746875622f537973626f742d6f72672f62696e)](https://libraries.io/github/Sysbot-org/bin)[![Code Quality](https://camo.githubusercontent.com/0b761805f4066e7d1b08e675a74820ff1212bab918783e8a3b5e58091fc0374e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f537973626f742d6f72672f62696e)](https://scrutinizer-ci.com/g/Sysbot-org/bin/?branch=main)

Sysbot/bin is a library used by Sysbot. It handles serialization and deserialization of binary data, providing support for both 32-bit and 64-bit systems.

Changelog
---------

[](#changelog)

You can find the [changelog](CHANGELOG.md) here.

Installation
------------

[](#installation)

Install the library with composer:

`$ composer require sysbot/bin --prefer-stable`

**(32-bit systems)** You must also install the required dependency [brick/math](https://packagist.org/packages/brick/math).

`$ composer require "brick/math:^0.10"`

Usage
-----

[](#usage)

Here's an example on how to use the library.

```
