You are looking at historical revision 29005 of this page. It may differ significantly from its current revision.

msgpack

Author

Hugo Arregui

Requirements

Description

An MessagePack implementation for scheme.

API

Pack

[procedure] (pack PORT VALUE)

This procedure will call primitive type packers, with the following rules:

[procedure] (pack-uint PORT VALUE)
[procedure] (pack-sint PORT VALUE)
[procedure] (pack-float PORT VALUE)
[procedure] (pack-double PORT VALUE)
[procedure] (pack-raw PORT VALUE)
[procedure] (pack-array PORT VALUE)
[procedure] (pack-map PORT VALUE)

Unpack

[procedure] (unpack PORT [MAPPER identity])

Mappers

[procedure] (raw->string/mapper VALUE)

License

BSD