-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRaw.pm
76 lines (49 loc) · 2.05 KB
/
Raw.pm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package MsgPack::Raw;
use strict;
use warnings;
require XSLoader;
XSLoader::load ('MsgPack::Raw', $MsgPack::Raw::VERSION);
use MsgPack::Raw::Bool;
use MsgPack::Raw::Ext;
use MsgPack::Raw::Packer;
use MsgPack::Raw::Unpacker;
=for HTML
<a href="https://dev.azure.com/jacquesgermishuys/p5-MsgPack-Raw">
<img src="https://dev.azure.com/jacquesgermishuys/p5-MsgPack-Raw/_apis/build/status/jacquesg.p5-MsgPack-Raw?branchName=master" alt="Build Status: Azure" align="right" />
</a>
<a href="https://ci.appveyor.com/project/jacquesg/p5-msgpack-raw">
<img src="https://ci.appveyor.com/api/projects/status/nbr59lf36t73qrvd?svg=true" alt="Build Status: AppVeyor" align="right" />
</a>
<a href="https://coveralls.io/github/jacquesg/p5-MsgPack-Raw">
<img src="https://coveralls.io/repos/github/jacquesg/p5-MsgPack-Raw/badge.svg?branch=master" alt="Coverage Status" align="right"/>
</a>
=cut
=head1 NAME
MsgPack::Raw - Perl bindings to the msgpack C library
=head1 SYNOPSIS
use MsgPack::Raw;
my $packer = MsgPack::Raw::Packer->new;
my $packed = $packer->pack ({ a => 'b', c => 'd' });
my $unpacker = MsgPack::Raw::Unpacker->new;
$unpacker->feed ($packed);
my $unpacked = $unpacker->next();
=head1 ABOUT MESSAGEPACK
L<MessagePack|https://msgpack.org> is an efficient binary serialization format. It lets you exchange
data among multiple languages like JSON, but it's faster and smaller. Small
integers are encoded into a single byte, and typical short strings require only
one extra byte in addition to the strings themselves.
=head1 DOCUMENTATION
=head2 L<MsgPack::Raw::Packer>
=head2 L<MsgPack::Raw::Unpacker>
=head2 L<MsgPack::Raw::Ext>
=head2 L<MsgPack::Raw::Bool>
=head1 AUTHOR
Jacques Germishuys <[email protected]>
=head1 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.
=cut
1; # End of MsgPack::Raw