perl-Data-Hexify-1.00-18.1.noarch.rpm


Advertisement

Description

perl-Data-Hexify - Perl extension for hexdumping arbitrary data

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-Data-Hexify
Package version 1.00
Package release 18.1
Package architecture noarch
Package type rpm
Installed size 13.11 KB
Download size 12.97 KB
Official Mirror ftp.gwdg.de
This module exports one subroutine: 'Hexify'.
'Hexify' formats arbitrary (possible binary) data into a format suitable
for hex dumps in the style of 'xd' or 'hexl'.
The first, or only, argument to 'Hexify' contains the data, or a reference
to the data, to be hexified. Hexify will return a string that prints as
follows:
0000: 70 61 63 6b 61 67 65 20 44 61 74 61 3a 3a 48 65  package Data::He
0010: 78 69 66 79 3b 0a 0a 75 73 65 20 35 2e 30 30 36  xify;..use 5.006
and so on. At the left is the (hexadecimal) index of the data, then a
number of hex bytes, followed by the chunk of data with unprintables
replaced by periods.
The optional second argument to 'Hexify' must be a hash or a hash
reference, containing values for any of the following parameters:
* first
The first byte of the data to be processed. Default is to start from the
beginning of the data.
* length
The number of bytes to be processed. Default is to proceed all data.
* chunk
The number of bytes to be processed per line of output. Default is 16.
* group
The number of bytes to be grouped together. Default is 1 (no grouping).
If used, it must be a divisor of the chunk size.
* duplicates
When set, duplicate lines of output are suppressed and replaced by a
single line reading '**SAME**'.
Duplicate suppression is enabled by default.
* showdata
A reference to a subroutine that is used to produce a printable string
from a chunk of data. By default, a subroutine is used that replaces
unwanted bytes by periods.
The subroutine gets the chunk of data passed as argument, and should
return a printable string of at most 'chunksize' characters.
* align
Align the result to 'chunksize' bytes. This is relevant only when
processing data not from the beginning. For example, when 'first' is 10,
the result would become:
0000:                ...    74 61 3a 3a 48 65            ta::He
0010: 78 69 66 79 3b ... 65 20 35 2e 30 30 36  xify;..use 5.006
... and so on ...
Alignment is on by default. Without alignment, the result would be:
000a: 74 61 3a 3a 48 ... 79 3b 0a 0a 75 73 65  ta::Hexify;..use
001a: 20 35 2e 30 30 ... 73 65 20 73 74 72 69   5.006;.use stri
... and so on ...
* start
Pretend that the data started at this byte (while in reality it starts at
byte 'first'). The above example, with 'start => 0', becomes:
0000: 74 61 3a 3a 48 ... 79 3b 0a 0a 75 73 65  ta::Hexify;..use
0010: 20 35 2e 30 30 ... 73 65 20 73 74 72 69   5.006;.use stri
... and so on ...

Alternatives

Package Version Architecture Repository
perl-Data-Hexify - - -

Requires

Name Value
perl(:MODULE_COMPAT_5.18.2) -
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1

Provides

Name Value
perl(Data::Hexify) = 1.00
perl-Data-Hexify = 1.00-18.1

Download

Type URL
Binary Package perl-Data-Hexify-1.00-18.1.noarch.rpm
Source Package perl-Data-Hexify-1.00-18.1.src.rpm

Install Howto

Install perl-Data-Hexify rpm package:

# zypper install perl-Data-Hexify

See Also

Package Description
perl-Data-Hierarchy-0.34-134.1.noarch.rpm Handle data in a hierarchical structure
perl-Data-Integer-0.005-1.1.noarch.rpm Details of the Native Integer Data Type
perl-Data-OptList-0.109-6.1.noarch.rpm parse and validate simple name/value option pairs
perl-Data-Page-2.02-2.1.noarch.rpm Help when paging through sets of results
perl-Data-Peek-0.44-9.2.x86_64.rpm A collection of low-level debug facilities
perl-Data-Perl-0.002009-2.1.noarch.rpm Base classes wrapping fundamental Perl data types
perl-Data-Printer-0.38-1.1.noarch.rpm Colored Pretty-Print of Perl Data Structures and Objects
perl-Data-Section-0.200006-4.1.noarch.rpm read multiple hunks of data out of your DATA section
perl-Data-Section-Simple-0.07-3.1.noarch.rpm Read data from __DATA__
perl-Data-ShowTable-4.6-6.1.noarch.rpm routines to display tabular data in several formats
perl-Data-Uniqid-0.12-1.1.noarch.rpm Perl extension for simple genrating of unique id's
perl-Data-Util-0.63-8.19.x86_64.rpm A selection of utilities for data and data types
perl-Data-Visitor-0.30-2.1.noarch.rpm Visitor style traversal of Perl data structures
perl-Date-Calc-6.3-25.2.x86_64.rpm Perl Date-Calc Module
perl-Date-Holidays-CZ-0.13-1.1.noarch.rpm Determine Czech holidays
Advertisement
Advertisement