line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package XML::NewsML_G2::Binary; |
2
|
|
|
|
|
|
|
|
3
|
18
|
|
|
18
|
|
124
|
use XML::NewsML_G2::Types; |
|
18
|
|
|
|
|
36
|
|
|
18
|
|
|
|
|
540
|
|
4
|
|
|
|
|
|
|
|
5
|
18
|
|
|
18
|
|
95
|
use Moose; |
|
18
|
|
|
|
|
36
|
|
|
18
|
|
|
|
|
121
|
|
6
|
18
|
|
|
18
|
|
114406
|
use namespace::autoclean; |
|
18
|
|
|
|
|
41
|
|
|
18
|
|
|
|
|
153
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
with 'XML::NewsML_G2::Role::Remote'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
__END__ |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
XML::NewsML_G2::Binary - an arbitrary binary specification |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 SYNOPSIS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
my $blob = XML::NewsML_G2::Spec->new |
22
|
|
|
|
|
|
|
(size => 2231259, |
23
|
|
|
|
|
|
|
mimetype => 'application/pdf' |
24
|
|
|
|
|
|
|
); |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=over 4 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=item size |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
The size in bytes of the audio file |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item mimetype |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
The MIME type of the binary file (e.g. application/pdf) |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=back |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHOR |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Christian Eder C<< <christian.eder@apa.at> >> |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 LICENCE AND COPYRIGHT |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Copyright (c) 2013-2019, APA-IT. All rights reserved. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
See L<XML::NewsML_G2> for the license. |