1Compress::Stream::Zstd:U:sDeercoCmopnrtersisbourt(e3d)PCeormlprDeoscsu:m:eSnttraetaimo:n:Zstd::Decompressor(3)
2
3
4

NAME

6       Compress::Stream::Zstd::Decompressor - Zstd streaming decompression
7

SYNOPSIS

9           use Compress::Stream::Zstd::Decompressor qw(ZSTD_DSTREAM_IN_SIZE);
10
11           my $decompressor = Compress::Stream::Zstd::Decompressor->new;
12           while (read($fh, my $buffer, ZSTD_DSTREAM_IN_SIZE)) {
13               print $decompressor->decompress($buffer);
14           }
15

DESCRIPTION

17       The Compress::Stream::Zstd::Decompressor module provides a streaming
18       interface to the Zstd decompressor.
19

METHODS

21   Compress::Stream::Zstd::Decompressor->new()
22       :Compress::Stream::Zstd::Decompressor
23       Create an instance of Compress::Stream::Zstd::Decompressor.
24
25   $decompressor->init() :Undef
26       (re)init the decompressor.
27
28   $decompressor->decompress($input) :Str
29       Consume input stream.
30

CONSTANTS

32   ZSTD_DSTREAM_IN_SIZE
33       Recommended size for input buffer.
34

SEE ALSO

36       Compress::Stream::Zstd
37

LICENSE

39           Copyright (c) 2016, Jiro Nishiguchi
40           All rights reserved.
41
42           Redistribution and use in source and binary forms, with or without modification,
43           are permitted provided that the following conditions are met:
44
45           1. Redistributions of source code must retain the above copyright notice, this
46           list of conditions and the following disclaimer.
47
48           2. Redistributions in binary form must reproduce the above copyright notice,
49           this list of conditions and the following disclaimer in the documentation
50           and/or other materials provided with the distribution.
51
52           THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
53           ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
54           WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
55           DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
56           ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
57           (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
58           LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
59           ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
60           (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
61           SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62

AUTHOR

64       Jiro Nishiguchi <jiro@cpan.org>
65
66       Zstandard by Facebook, Inc.
67
68
69
70perl v5.34.0                      2021-1C0o-m2p1ress::Stream::Zstd::Decompressor(3)
Impressum