aziascreations d04e0821d1 Added documentation example
May be used as-is or put in the code in the future.
I'm not sure yet, and I'll vibe code something since the PB tool for doc has "issues"...
2026-10-24 08:28:43 +02:00
2026-10-09 23:59:45 +02:00
2026-10-22 22:31:32 +02:00
2026-10-12 20:43:04 +02:00

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 .q type for field sizes
    • Helps prevent unsigned numbers being passed around carelessly
  • More involved Map and Array parsing
    • No dynamic typing
  • No custom malloc/realloc/free callbacks
  • ???

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

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%