1Compress::Stream::Zstd:U:sCeormpCroenstCsroiimobpnurDteiescdst:iP:oeSnrtalrreyDa(om3c:)u:mZesnttda:t:iCoonmpressionDictionary(3)
2
3
4

NAME

6       Compress::Stream::Zstd::CompressionDictionary - Zstd compression
7       dictionary
8

SYNOPSIS

10           use Compress::Stream::Zstd::CompressionContext;
11           use Compress::Stream::Zstd::CompressionDictionary;
12
13           my $cdict = Compress::Stream::Zstd::CompressionDictionary->new_from_file($filename, $level);
14           my $cctx = Compress::Stream::Zstd::CompressionContext->new;
15           my $dest = $cctx->compress_using_dict($src, $cdict);
16

DESCRIPTION

18       (Experimental) The Compress::Stream::Zstd::CompressionDictionary module
19       provides Zstd compression dictionaries.
20

METHODS

22   Compress::Stream::Zstd::CompressionDictionary->new($dict)
23       :Compress::Stream::Zstd::CompressionDictionary
24       Create an instance of Compress::Stream::Zstd::CompressionDictionary.
25
26   Compress::Stream::Zstd::CompressionDictionary->new_from_file($filename)
27       :Compress::Stream::Zstd::CompressionDictionary
28       Create an instance of Compress::Stream::Zstd::CompressionDictionary
29       from file.
30

SEE ALSO

32       Compress::Stream::Zstd
33

LICENSE

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

AUTHOR

60       Jiro Nishiguchi <jiro@cpan.org>
61
62       Zstandard by Facebook, Inc.
63
64
65
66perl v5.34.0                  Comp2r0e2s1s-:1:0S-t2r1eam::Zstd::CompressionDictionary(3)
Impressum