our (@ISA, $VERSION, $got_encode);
#@ISA = qw(Exporter IO::File);
-$VERSION = '2.000_08';
+$VERSION = '2.000_11';
#Can't locate object method "SWASHNEW" via package "utf8" (perhaps you forgot to load "utf8"?) at .../ext/Compress-Zlib/Gzip/blib/lib/Compress/Zlib/Common.pm line 16.
+sub filterUncompressed
+{
+}
+
sub syswrite
{
my $self = shift ;
*$self->{UnCompSize_32bit} += $buffer_length ;
}
+ $self->filterUncompressed($buffer);
+
# if (*$self->{Encoding}) {
# $$buffer = *$self->{Encoding}->encode($$buffer);
# }
${ *$self->{Buffer} } = '' ;
}
- my $status = *$self->{Compress}->reset() ;
+ #my $status = *$self->{Compress}->reset() ;
+ my $status = $self->reset() ;
return $self->saveErrorString(0, *$self->{Compress}{Error},
*$self->{Compress}{ErrorNo})
if $status == STATUS_ERROR;
return 1 ;
}
+sub reset
+{
+ my $self = shift ;
+ return *$self->{Compress}->reset() ;
+}
+
sub _writeTrailer
{
my $self = shift ;
-
-
-
=head1 AUTHOR
-The I<IO::Compress::Base> module was written by Paul Marquess,
-F<pmqs@cpan.org>.
+This module was written by Paul Marquess, F<pmqs@cpan.org>.
See the Changes file.
=head1 COPYRIGHT AND LICENSE
-
Copyright (c) 2005-2006 Paul Marquess. All rights reserved.