b64encode: Encode a File in Base64 Format

Description

Encode a file in base64 format.

Usage

1
b64encode(input, output = tempfile(), linesize = 72L)

Arguments

input

Input file.

output

Output file.

linesize

Number of characters per line in output file.

Value

None. The output file is written.

Author(s)

Romain Francois, based on code by Bob Trower.

References

This is based on the base64 code available at http://base64.sourceforge.net/.

Base64 page at Wikipedia: http://en.wikipedia.org/wiki/Base64.

See Also

b64decode for the reverse operation


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.