Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (15 sloc) 0.758 kB

Data::MessagePack::Stream Build Status

Yet another msgpack streaming deserializer for Perl.

SYNOPSIS

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

while (read($fh, my $buf, 1024)) {
    $unpacker->feed($buf);

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

DESCRIPTION

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.

Jump to Line
Something went wrong with that request. Please try again.