OS4 DepotLogo by DaveyD 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Utility » Misc » base64.lzx


Description: Base64
Download: base64.lzx       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 26kb
Version: 1.0
Date: 09 Jun 2004
Author: Martin McKenzie (port)
Submitter: Martin McKenzie
Email: marty/cadtechnologies co uk
Homepage: http://www.cadtechnologies.co.uk
Category: utility/misc
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 38
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 295  (Current version)
295  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
 This archive contains an OS4 PPC version of the base64 tool. This tool
 encodes/decodes files in the "Base64" format used by MIME-encoded
 documents such as electronic mail messages with embedded images and audio
 Source code used for this build was obtained from the authors homepage
 at http://www.fourmilab.ch/.

 Martin McKenzie
 email:  marty()cadtechnologies.co.uk
 web:    http://www.cadtechnologies.co.uk



 base64 - encode and decode base64 files


 base64 [ -d / -e ] [ options ] [ infile ] [ outfile ]


The MIME (Multipurpose Internet Mail Extensions) specification (RFC 1341 and
successors) defines a mechanism for encoding arbitrary binary information
for transmission by electronic mail. Triplets of 8-bit octets are encoded as
groups of four characters, each representing 6 bits of the source 24 bits.
Only characters present in all variants of ASCII and EBCDIC are used,
avoiding incompatibilities in other forms of encoding such as

base64 is a command line utility which encodes and decodes files in this
format. It can be used within a pipeline as an encoding or decoding filter,
and is most commonly used in this manner as part of an automated mail
processing system.


Decodes the input, previously created by base64, to recover the original
input file.

Encodes the input into an output text file containing its base64 encoding.

-n, --noerrcheck
Suppress error checking when decoding. By default, upon encountering a non
white space character which does not belong to the base64 set, or
discovering the input file is incorrectly padded to a multiple of four
characters, base64 issues an error message and terminates processing with
exit status 1. The -n option suppresses even this rudimentary error
checking; invalid characters are silently ignored and the output truncated
to the last three valid octets if the input is incorrectly padded.

-u, -?
Print how to call information and a summary of options.


Little or no error checking is done when decoding, other than validating
that the input consists of a multiple of four characters in the encoding
set. This is inherent in the design of base64, which assumes transmission
integrity is the responsibility of a higher-level protocol.


Copyright © 2004-2024 by Björn Hagström All Rights Reserved