TextMode/Format/Bin.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 100% 1 / 1 totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
extensions
1.0
CRAP 1.0
« TextMode/Format/AVATAR.pm ↑ Summary TextMode/Format/IDF.pm »
1 package Image::TextMode::Format::Bin;
2  
3 3 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 3 extends 'Image::TextMode::Format', 'Image::TextMode::Canvas';
6  
7 1 ▶sub extensions { return 'bin' }
Subroutine extensions: called CC=1 SCAR=0.0
Pod documented
8  
9 =head1 NAME
10  
11 Image::TextMode::Format::Bin - read and write Bin files
12  
13 =head1 DESCRIPTION
14  
15 The Bin format is essentially a raw VGA video dump. It is a sequence of
16 character and attribute byte pairs. It holds no width information, so any
17 images over 80 columns will have to be described in an alternate way (i.e.
18 via SAUCE metadata).
19  
20 =head1 METHODS
21  
22 =head2 new( %args )
23  
24 Creates a Bin instance.
25  
26 =head2 extensions( )
27  
28 Returns 'bin'.
29  
30 =head1 AUTHOR
31  
32 Brian Cassidy E<lt>bricas@cpan.orgE<gt>
33  
34 =head1 COPYRIGHT AND LICENSE
35  
36 Copyright 2008-2014 by Brian Cassidy
37  
38 This library is free software; you can redistribute it and/or modify
39 it under the same terms as Perl itself.
40  
41 =cut
42  
43 3 1;
« TextMode/Format/AVATAR.pm ↑ Summary TextMode/Format/IDF.pm »