📄 base64.1
字号:
.TH BASE64 1 "20 FEB 2001".UC 4.SH NAMEbase64 \- encode / decode binary file as RFC 1341 MIME base64.SH SYNOPSIS.B base64.BR \-d | \-e [.B \-n][.B \-u][.I infile[.I outfile] ].SH DESCRIPTIONThe MIME (Multipurpose Internet Mail Extensions) specification(RFC 1341 and successors) defines a mechanism for encoding arbitrary binaryinformation for transmission by electronic mail. Tripletsof 8-bit octets are encoded as groups of four characters,each representing 6 bits of the source 24 bits. Only characterspresent in all variants of ASCII and EBCDIC are used, avoidingincompatibilities in other forms of encoding such as.BR uuencode / uudecode ..PP.B base64is 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 automatedmail processing system..SH OPTIONS.TP 12.B \-\-copyrightPrint program copyright information..TP.BR \-d ", " \-\-decodeDecodes the input, previously created by.BR base64 ,to recover the original input file..TP.BR \-e ", " \-\-encodeEncodes the input into an output text file containingits base64 encoding..TP.BR \-n ", " \-\-noerrcheckSuppress error checking when decoding. By default, upon encounteringa non white space character which does not belong to the base64set, or discovering the input file is incorrectly padded to amultiple of four characters,.B base64issues an error message and terminatesprocessing with exit status 1. The.B \-noption suppresses even this rudimentary error checking; invalidcharacters are silently ignored and the output truncated to thelast three valid octets if the input is incorrectly padded..TP.BR \-u ", " \-\-helpPrint how-to-call information..TP.B \-\-versionPrint program version information..SH EXIT STATUS.B base64returns status 0 if processing was completed without errors, 1 if anI/O error occurred or errors were detected in decoding a file whichindicate it is incorrect or incomplete, and 2 if processingcould not be performed at all due, for example, to a nonexistent inputfile..SH FILESIf no.I infileis specified or.I infileis a single ``\-'',.B base64reads from standard input; if no.I outfileis given, or.I outfileis a single ``\-'',output is sent to standard output. The input andoutput are processed strictly serially; consequently.B base64may be used in pipelines..SH BUGSLittle or no error checking is done when decoding, other thanvalidating that the input consists of a multiple of fourcharacters in the encoding set. This is inherent in thedesign of base64, which assumes transmission integrity isthe responsibility of a higher-level protocol..PPPlease report bugs and documentation errors to.BR bugs@fourmilab.ch ..SH "SEE ALSO".PD.BR uudecode (1),.BR uuencode (1),RFC1341.ne 4.SH AUTHOR.RS 5.nfJohn Walkerhttp://www.fourmilab.ch/.fi.RE.PD.PPThis software is in the public domain.Permission to use, copy, modify, and distribute this software and itsdocumentation for any purpose and without fee is hereby granted,without any conditions or restrictions. This software is provided ``asis'' without express or implied warranty..PPThis is version 1.3 of.BR base64 .The current version of this program may be downloaded fromhttp://www.fourmilab.ch/webtools/base64.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -