]> iEval git - io-compress-brotli.git/blobdiff - lib/IO/Uncompress/Brotli.pm
Consistency between encoder/decoder boilerplate
[io-compress-brotli.git] / lib / IO / Uncompress / Brotli.pm
index 2f37d8fb758f37f1d2202b60f2f610d30df9e6d5..f4230ef2650670b63c7af8c99b94dcc5766aea6c 100644 (file)
@@ -13,28 +13,6 @@ our $VERSION = '0.001001';
 require XSLoader;
 XSLoader::load('IO::Compress::Brotli', $VERSION);
 
-sub create {
-       my ($class) = @_;
-       my $state = BrotliDecoderCreateInstance();
-       bless \$state, $class
-}
-
-sub DESTROY {
-       my ($self) = @_;
-       BrotliDecoderDestroyInstance($$self)
-}
-
-sub decompress {
-       my ($self, $data) = @_;
-       BrotliDecoderDecompressStream($$self, $data)
-}
-
-# Untested, probably not working
-sub set_dictionary {
-       my ($self, $dict) = @_;
-       BrotliSetCustomDictionary($$self, $dict)
-}
-
 1;
 __END__
 
This page took 0.022594 seconds and 4 git commands to generate.