msgpack

Author

Hugo Arregui

Requirements

Description

A 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