Data::HexDump::Range::Gather - Handles gathering of binary data for Data::HexDump::Range
Subroutines prefixed with [P] are not part of the public API and shall not be used directly.
Creates an internal data structure from the data to dump.
$hdr->_gather($container, $range_description, $data, $size)
Arguments - See gather
$container - an array reference or undef - where the gathered data
$range_description - See gather
$data - See gather
$offset - See gather
$size - See gather
Returns -
$container - the gathered data
$used_data - integer - the location in the data where the dumping ended
Exceptions dies if passed invalid parameters
Transforms the user supplied ranges into an internal format
Arguments -
$range_description - An array reference or a subroutine reference
Returns - Array reference - ranges in internal format
Exceptions - None
Verifies the size field from a range descritpion and generates unpack format
$self
$range_name
$size
$used_data
Returns - A list
$is_header - Boolean -
$is_comment - Boolean -
$is_bitfield - Boolean -
$range_size - Integer
$unpack_format - A String - formated according to pack.
Exceptions - Croaks with an error messge if the input data is invalid
Returns - Array ference - ranges in internal format
$range_description - A string - See gather
transforms the user supplied ranges into an internal format
$range_description - An array reference - See gather
Returns - Returns - Array ference - ranges in internal format
Returns - Nothing
None so far.
Nadim ibn hamouda el Khemir CPAN ID: NKH mailto: nadim@cpan.org
Copyright Nadim Khemir 2010.
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; either version 1, or (at your option) any later version, or
the Artistic License version 2.0.
You can find documentation for this module with the perldoc command.
perldoc Data::HexDump::Range
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Data-HexDump-Range
RT: CPAN's request tracker
Please report any bugs or feature requests to L <bug-data-hexdump-range@rt.cpan.org>.
We will be notified, and then you'll automatically be notified of progress on your bug as we make changes.
Search CPAN
http://search.cpan.org/dist/Data-HexDump-Range
Data::HexDump::Range
To install Data::HexDump::Range, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::HexDump::Range
CPAN shell
perl -MCPAN -e shell install Data::HexDump::Range
For more information on module installation, please visit the detailed CPAN module installation guide.