Use typemaps instead of manually managing the SVs
[io-compress-brotli.git] / lib / IO / Uncompress / Brotli.pm
index f4b8bdb0eb6f566d2fbd9c68783eaa48a49c5b8e..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) = @_;
-       BrotliDecoderSetCustomDictionary($$self, $dict)
-}
-
 1;
 __END__
 
This page took 0.009746 seconds and 4 git commands to generate.