File Coverage

blib/lib/MsgPack/Raw.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             package MsgPack::Raw;
2             $MsgPack::Raw::VERSION = '0.04';
3 18     18   1000303 use strict;
  18         157  
  18         427  
4 18     18   89 use warnings;
  18         26  
  18         762  
5              
6             require XSLoader;
7             XSLoader::load ('MsgPack::Raw', $MsgPack::Raw::VERSION);
8              
9 18     18   6243 use MsgPack::Raw::Bool;
  18         39  
  18         444  
10 18     18   6006 use MsgPack::Raw::Ext;
  18         37  
  18         406  
11 18     18   5959 use MsgPack::Raw::Packer;
  18         40  
  18         392  
12 18     18   6161 use MsgPack::Raw::Unpacker;
  18         36  
  18         568  
13              
14             =for HTML
15            
16             Build Status: Azure
17            
18            
19             Build Status: AppVeyor
20            
21            
22             Coverage Status
23            
24             =cut
25              
26             =head1 NAME
27              
28             MsgPack::Raw - Perl bindings to the msgpack C library
29              
30             =head1 VERSION
31              
32             version 0.04
33              
34             =head1 SYNOPSIS
35              
36             use MsgPack::Raw;
37              
38             my $packer = MsgPack::Raw::Packer->new;
39             my $packed = $packer->pack ({ a => 'b', c => 'd' });
40              
41             my $unpacker = MsgPack::Raw::Unpacker->new;
42             $unpacker->feed ($packed);
43              
44             my $unpacked = $unpacker->next();
45              
46             =head1 ABOUT MESSAGEPACK
47              
48             L is an efficient binary serialization format. It lets you exchange
49             data among multiple languages like JSON, but it's faster and smaller. Small
50             integers are encoded into a single byte, and typical short strings require only
51             one extra byte in addition to the strings themselves.
52              
53             =head1 DOCUMENTATION
54              
55             =head2 L
56              
57             =head2 L
58              
59             =head2 L
60              
61             =head2 L
62              
63             =head1 AUTHOR
64              
65             Jacques Germishuys
66              
67             =head1 LICENSE AND COPYRIGHT
68              
69             Copyright 2019 Jacques Germishuys.
70              
71             This program is free software; you can redistribute it and/or modify it
72             under the terms of either: the GNU General Public License as published
73             by the Free Software Foundation; or the Artistic License.
74              
75             See http://dev.perl.org/licenses/ for more information.
76              
77             =cut
78              
79             1; # End of MsgPack::Raw