X-Git-Url: http://git.ieval.ro/?p=io-compress-brotli.git;a=blobdiff_plain;f=lib%2FIO%2FUncompress%2FBrotli.pm;h=f472ca989afb0d5e9bef138a3c612487442272ee;hp=0cc22e2643e49fed2148760c3885b9484af8df6b;hb=406e6fed78dda26e5037587c9c767f88b09a78cc;hpb=f108816bf7a6803c81d055b35b076b116506e6f0 diff --git a/lib/IO/Uncompress/Brotli.pm b/lib/IO/Uncompress/Brotli.pm index 0cc22e2..f472ca9 100644 --- a/lib/IO/Uncompress/Brotli.pm +++ b/lib/IO/Uncompress/Brotli.pm @@ -8,13 +8,13 @@ use parent qw/Exporter/; our @EXPORT = qw/unbro/; our @EXPORT_OK = @EXPORT; -our $VERSION = '0.004001'; +our $VERSION = '0.004_002'; require XSLoader; XSLoader::load('IO::Compress::Brotli', $VERSION); -# 0.004 has unbro with prototype $$ -# 0.004_001 renames it to unbro_given_size, and provides unbro with +# 0.004001 has unbro with prototype $$ +# 0.004_002 renames it to unbro_given_size, and provides unbro with # prototype $;$ which calls: # * unbro_given_size when called with two arguments # * the OO interface when called with one argument @@ -73,7 +73,7 @@ data. It allocates a buffer of size I<$maximum_decoded_size> to store the decompressed data, if this is not sufficient (or there is another error) this function will croak. -As of version 0.004_001, the I<$maximum_decoded_size> argument is +As of version 0.004_002, the I<$maximum_decoded_size> argument is optional. If not provided, B uses the streaming interface described in the next section to decompress the buffer in blocks of one megabyte. The decompressed blocks are concatenated and returned.