]> iEval git - io-compress-brotli.git/blobdiff - lib/IO/Compress/Brotli.pm
Migrate 3 functions in the *.pm to *.xs
[io-compress-brotli.git] / lib / IO / Compress / Brotli.pm
index ed7fbf43e4f87c85513a1ef928590f7bec262204..a41c09bda19e2a8f7b292e86dead062173c59bac 100644 (file)
@@ -23,25 +23,6 @@ sub mode {
     _mode($$self, $mode)
 }
 
-use constant {
-    BROTLI_OPERATION_PROCESS => 0,
-    BROTLI_OPERATION_FLUSH   => 1,
-    BROTLI_OPERATION_FINISH  => 2
-};
-sub compress {
-       my ($self, $data) = @_;
-       $self->_compress($data, BROTLI_OPERATION_PROCESS )
-}
-
-sub flush {
-       my ($self) = @_;
-       $self->_compress('', BROTLI_OPERATION_FLUSH )
-}
-
-sub finish {
-       my ($self) = @_;
-       $self->_compress('', BROTLI_OPERATION_FINISH )
-}
 
 1;
 __END__
@@ -50,7 +31,7 @@ __END__
 
 =head1 NAME
 
-IO::Compress::Brotli - [Not yet implemented] Write Brotli buffers/streams
+IO::Compress::Brotli - Write Brotli buffers/streams
 
 =head1 SYNOPSIS
 
This page took 0.024551 seconds and 4 git commands to generate.