GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DATA::HEXDUMP::RANGE::GATHER (3)

.ds Aq ’

NAME

Data::HexDump::Range::Gather - Handles gathering of binary data for Data::HexDump::Range

CONTENTS

SYNOPSIS

DESCRIPTION

DOCUMENTATION

SUBROUTINES/METHODS

Subroutines prefixed with <B>[P]B> are not part of the public API and shall not be used directly.

[P] _gather($range_description, CW$data, CW$offset, CW$size)

Creates an internal data structure from the data to dump.



  $hdr->_gather($container, $range_description, $data, $size)



Arguments - See gather
o $container - an array reference or undef - where the gathered data
o $range_description - See gather
o $data - See gather
o $offset - See gather
o $size - See gather
Returns -
o $container - the gathered data
o $used_data - integer - the location in the data where the dumping ended
Exceptions dies if passed invalid parameters

    [P] create_range_provider($range_description)

Transforms the user supplied ranges into an internal format

Arguments -
o $range_description - An array reference or a subroutine reference
Returns - Array reference - ranges in internal format

Exceptions - None

[P] unpack_range_size($self, CW$range_name, CW$size, CW$used_data)

Verifies the size field from a range descritpion and generates unpack format

Arguments -
o $self
o $range_name
o $size
o $used_data
Returns - A list
o $is_header - Boolean -
o $is_comment - Boolean -
o $is_bitfield - Boolean -
o $range_size - Integer
o $unpack_format - A String - formated according to pack.
Exceptions - Croaks with an error messge if the input data is invalid

    [P] create_ranges($range_description)

Transforms the user supplied ranges into an internal format

Arguments -
o $range_description - See gather
Returns - Array ference - ranges in internal format

Exceptions - Croaks with an error messge if the input data is invalid

    [P] create_ranges_from_string($range_description)

Transforms the user supplied ranges into an internal format

Arguments -
o $range_description - A string - See gather
Returns - Array ference - ranges in internal format

Exceptions - Croaks with an error messge if the input data is invalid

    [P] create_ranges_from_array_ref($range_description)

transforms the user supplied ranges into an internal format

Arguments -
o $range_description - An array reference - See gather
Returns - Returns - Array ference - ranges in internal format

Exceptions - Croaks with an error messge if the input data is invalid

    [P] flatten($range_description)

transforms the user supplied ranges into an internal format

Arguments -
o $range_description - See gather
Returns - Nothing

Exceptions - Croaks with an error messge if the input data is invalid

BUGS AND LIMITATIONS

None so far.

AUTHOR



        Nadim ibn hamouda el Khemir
        CPAN ID: NKH
        mailto: nadim@cpan.org



COPYRIGHT AND LICENSE

Copyright Nadim Khemir 2010.

This program is free software; you can redistribute it and/or modify it under the terms of either:
o the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
o the Artistic License version 2.0.

SUPPORT

You can find documentation for this module with the perldoc command.



    perldoc Data::HexDump::Range



You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/Data-HexDump-Range>

o 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.

o Search CPAN

<http://search.cpan.org/dist/Data-HexDump-Range>

SEE ALSO

Data::HexDump::Range
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DATA::HEXDUMP::RANGE::GATHER (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.