From c4b02e1a6dbdc0894e186cf86268f9625de7efd1 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 10 Mar 2018 20:13:39 +0000 Subject: [PATCH] Bump version to 1.000 --- README | 6 +++--- lib/Convert/Base91.pm | 12 +++++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README b/README index 6f034b3..1c42239 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -Convert-Base91 version 0.001002 -=============================== +Convert-Base91 version 1.000 +============================ Base91 is a method for encoding binary data as printable ASCII characters. Every two base91 characters (16 bits) encode 13 or 14 bits @@ -25,7 +25,7 @@ A C compiler is needed. COPYRIGHT AND LICENCE -Copyright (C) 2017 by Marius Gavrilescu +Copyright (C) 2017-2018 by Marius Gavrilescu This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.26.1 or, diff --git a/lib/Convert/Base91.pm b/lib/Convert/Base91.pm index 733cf5c..e133711 100644 --- a/lib/Convert/Base91.pm +++ b/lib/Convert/Base91.pm @@ -8,7 +8,7 @@ use parent qw/Exporter/; our @EXPORT_OK = qw/encode_base91 decode_base91/; our @EXPORT = (); -our $VERSION = '0.001002'; +our $VERSION = '1.000'; require XSLoader; XSLoader::load('Convert::Base91', $VERSION); @@ -82,7 +82,8 @@ base91 encoded data. =item B $base91_data Takes a string containing base91 encoded data and returns the decoded -string of arbitrary bytes. +string of arbitrary bytes. Any non-printable character in the input is +silently ignored. =item Convert::Base91->B @@ -103,6 +104,7 @@ object so it may be used again (for either encoding or decoding). =item $base91->B($data) Submit the next chunk of base91 data to be decoded. Returns nothing. +Any non-printable character in the input is silently ignored. =item $base91->B @@ -116,13 +118,17 @@ so it may be used again (for either encoding or decoding). L +L provides a constant-length encoding, at the cost +of a larger overhead (25% for Ascii85, versus 33% for base64 and +14-23% for base91). + =head1 AUTHOR Marius Gavrilescu, Emarius@ieval.roE =head1 COPYRIGHT AND LICENSE -Copyright (C) 2017 by Marius Gavrilescu +Copyright (C) 2017-2018 by Marius Gavrilescu This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.26.1 or, -- 2.39.2