use bytes ();
-use File::Slurp;
+use File::Slurper qw/read_binary/;
use Getopt::Long;
use Time::HiRes qw/ gettimeofday tv_interval /;
print $ofh $encoded;
}
else {
- my $decoded = read_file( $ifh );
+ my $decoded = read_binary( $ifh );
my $encoded = bro( $decoded, $QUALITY, $WINDOW );
$total_size += bytes::length( $decoded );
write_file( $ofh, $encoded );