mirror of
https://github.com/aziascreations/PB-MessagePack.git
synced 2026-11-03 17:01:24 +01:00
bfa48776de0d83cbe691988eada98f0dc920d826
PureBasic - MsgPack
PureBasic Include for serializing and deserializing MessagePack data.
Based on the msgpack/msgpack specification.
Features
- Full support of the MessagePack specification
- Explicit or implicit [typing]
- [the autotyping over which other libs sometimes give no control]
- ???
Limitations
- Usage of larger
.qtype for field sizes- Helps prevent unsigned numbers being passed around carelessly
- More involved Map and Array parsing
- No dynamic typing
- No custom
malloc/realloc/freecallbacks - ???
Usage
Submodule
Adding submodule:
git submodule add https://github.com/aziascreations/PB-MessagePack.git Includes/PB-MessagePack
Pull latest submodule version:
git submodule update --init --recursive
Inclusion
...
Examples
Writing explicitely
...
Cloning
Use this command to clone the repository and its submodules:
git clone --recurse-submodules https://github.com/aziascreations/PB-MessagePack.git
If you forgot the submodules, use this command:
git submodule update --init --recursive
Special Thanks
- AndyMK / agorangetek
- PureBasic Visual Studio Code Extension (GitHub repository)
License
All the code in this repo is released in the Public Domain.
Languages
PureBasic
92.9%
PowerShell
4%
C#
1.8%
Python
1.3%