Faster conversions to/from Bencode format
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.
- Sources inherited from project devel:languages:perl
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Convert-Bencode_XS && cd $_
- Create Badge
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)
Christian Wittmer (computersalat)
accepted
request 58337
from
Christian Wittmer (computersalat)
(revision 1)
self accept
Comments 0