Migrate 3 functions in the *.pm to *.xs
[io-compress-brotli.git] / lib / IO / Compress / Brotli.pm
index 694a04b301dc48a66aa205f045d1816d1a0afb1d..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__
This page took 0.009799 seconds and 4 git commands to generate.