antirez/lua-cmsgpack — Issue #10: Support for concatenated objects
Author: catwell
Created: 2012-02-20 15:16:23+00:00
State: open

MessagePack allows binary blobs composed of several valid MessagePack objects concatenated. This is the case of the official MessagePack test data for instance (https://github.com/msgpack/msgpack/tree/master/test).

To support this kind of data you need an interface that:

- returns the first object of the blob and the byte offset where the decoding stopped,
- (optionally) allows you to specify an offset where the decoding should start.

An advantage of implementing this is that it would make it possible to use the "official" test data to test this module.