DOKK / manpages / debian 10 / libmime-tools-perl / MIME::Decoder::Binary.3pm.en
MIME::Decoder::Binary(3pm) User Contributed Perl Documentation MIME::Decoder::Binary(3pm)

MIME::Decoder::Binary - perform no encoding/decoding

A generic decoder object; see MIME::Decoder 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.

MIME::Decoder

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.

2017-10-20 perl v5.26.0