The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MsgPack::Raw::Packer - msgpack Packer class

VERSION

version 0.02

DESCRIPTION

MessagePack packer

SYNOPSIS

        use MsgPack::Raw;

        my $packer = MsgPack::Raw::Packer->new;
        my $string = $packer->pack ({ a => 'b', c => [undef, 1, 2, '3']});

METHODS

new ( )

Create a new packer.

pack ( $data )

Pack $data into a msgpack string. Objects other than MsgPack::Raw::Bool and MsgPack::Raw::Ext cannot be packed.

AUTHOR

Jacques Germishuys <jacquesg@striata.com>

LICENSE AND COPYRIGHT

Copyright 2019 Jacques Germishuys.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.