Faster conversions to/from Bencode format

Edit Package perl-Convert-Bencode_XS
http://search.cpan.org/dist/Convert-Bencode_XS/

* bencode($stuff)

Returns a bencoded string representing what's in $stuff. $stuff can be
either a scalar, an array reference or a hash reference. Every nesting of
these data structures is allowed, other ones will croak.

* bdecode($bencoded)

Returns a Perl data structure: it could be either a scalar, array
reference or hash reference depending on what's in $bencoded.
Dictionaries are converted in hashes, lists in arrays, scalars in
strings. If $COERCE (see below) is set to a false value then scalars
encoded like integers will be cleanse() before being returned so that a
re-serialization of the structure will give back exactly the same
bencoded string.

Refresh
Refresh
Source Files
Filename Size Changed
Convert-Bencode_XS-0.06.tar.gz 0000008926 8.72 KB
cpanspec.yml 0000000774 774 Bytes
perl-Convert-Bencode_XS.changes 0000000354 354 Bytes
perl-Convert-Bencode_XS.spec 0000002335 2.28 KB
storable-canonical.patch 0000000445 445 Bytes
Revision 2 (latest revision is 3)
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 778013 from Tina Müller's avatar Tina Müller (tinita) (revision 2)
- Add patch storable-canonical.patch

Tests are passing now, except for ppc.
Comments 0
openSUSE Build Service is sponsored by