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
perl-Convert-Bencode_XS.changes 0000000179 179 Bytes
perl-Convert-Bencode_XS.spec 0000002419 2.36 KB
Revision 1 (latest revision is 3)
Comments 0
openSUSE Build Service is sponsored by