X-Git-Url: http://git.ieval.ro/?p=io-compress-brotli.git;a=blobdiff_plain;f=lib%2FIO%2FCompress%2FBrotli.pm;h=f1b76e219a29dd6dcfa03360a68959caa8c7af33;hp=4692b983e6d36fbf41810088727611fd63eb5c37;hb=593b81c0d82458c00172fac374508871d21da050;hpb=5b02a525718a9d2b82f1f5d15b5edd8dcf82f29a diff --git a/lib/IO/Compress/Brotli.pm b/lib/IO/Compress/Brotli.pm index 4692b98..f1b76e2 100644 --- a/lib/IO/Compress/Brotli.pm +++ b/lib/IO/Compress/Brotli.pm @@ -10,7 +10,7 @@ use IO::Uncompress::Brotli; our @EXPORT = qw/bro/; our @EXPORT_OK = @EXPORT; -our $VERSION = '0.004'; +our $VERSION = '0.004001'; my %BROTLI_ENCODER_MODE = ( generic => 0, text => 1, font => 2 ); sub mode { @@ -63,10 +63,12 @@ function. =over -=item B(I<$input>) +=item B(I<$input>, I<$quality>, I<$window>) Takes a whole uncompressed buffer as input and returns the compressed -data. +data using the supplied quality and window parameters. If quality and +window parameters are not supplied, default values are used (as +described under the object-oriented interface). Exported by default. @@ -149,7 +151,7 @@ clean up of the overall project were contributed by: =head1 COPYRIGHT AND LICENSE -Copyright (C) 2015-2017 by Marius Gavrilescu +Copyright (C) 2015-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.20.2 or,