1 # Copyright (C) 2020 all contributors <meta@public-inbox.org>
2 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
4 package PublicInbox::NoopFilter;
7 sub new { bless \(my $self = ''), __PACKAGE__ }
9 # noop workalike for PublicInbox::GzipFilter methods
12 my $ret = $$self .= ($_[1] // '');
22 sub zflush { translate($_[0], $_[1]) }