Data-HexConverter
view release on metacpan or search on metacpan
lib/Data/HexConverter.pm view on Meta::CPAN
On most other hosts AVX2 will be used.
If the host is really old (unlikely) will use SSE2 or scalar (even more unlikely).
The Perl API takes references to scalars, because the strings can be large.
=head1 FUNCTIONS
=head2 hex_to_binary(\$hexstr)
Takes a reference to a hex string, returns the decoded binary string.
=head2 binary_to_hex(\$binstr)
Takes a reference to a binary string, returns the hex encoded string.
=head2 hex_to_binary_impl()
Returns a short string with the name of the impl used for hex to bin.
=head2 binary_to_hex_impl()
( run in 0.288 second using v1.01-cache-2.11-cpan-9383018d099 )