|
|
MIME::Decoder::Binary - perform no encoding/decoding
A generic decoder object; see the MIME::Decoder manpage for usage.
A MIME::Decoder subclass for the "binary"
encoding (in other words,
no encoding).
The "binary"
decoder is a special case, since it's ill-advised
to read the input line-by-line: after all, an uncompressed image file might
conceivably have loooooooooong stretches of bytes without a "\n"
among
them, and we don't want to risk blowing out our core. So, we
read-and-write fixed-size chunks.
Both the encoder and decoder do a simple pass-through of the data from input to output.
Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com).
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
$Revision: 1.10 $ $Date: 2006/03/17 21:03:23 $