pocketpy/modules/msgpack.md
2026-04-29 04:55:21 +00:00

278 B

!!! This module is optional. Set option PK_BUILD_MODULE_MSGPACK to ON in your CMakeLists.txt to enable it. !!!

msgpack.loads(data: bytes)

Decode a msgpack bytes into a python object.

msgpack.dumps(obj) -> bytes

Encode a python object into a msgpack bytes.