Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (15 sloc) 758 Bytes

Data::MessagePack::Stream Build Status

Yet another msgpack streaming deserializer for Perl.


use Data::Dumper;
my $unpacker = Data::MessagePack::Stream->new;

while (read($fh, my $buf, 1024)) {

    while ($unpacker->next) {
        print Dumper($unpacker->data);


Data::MessagePack::Stream is streaming deserializer for MessagePack.

This module is alternate for Data::MessagePack::Unpacker. Unlike original unpacker, this module support internal buffer and it's possible to handle streaming data correctly.