This is not necessarily the current version of this TIP.
| TIP: | 317 |
| Title: | Extend binary Ensemble with Binary Encodings |
| Version: | $Revision: 1.2 $ |
| Author: | Pat Thoyts <patthoyts at users dot sourceforge dot net> |
| State: | Draft |
| Type: | Project |
| Tcl-Version: | 8.6 |
| Vote: | Pending |
| Created: | Saturday, 03 May 2008 |
| Keywords: | base64, uuencode, hex, transfer encoding |
This TIP extends the binary command with implementations in C of commonly used binary encodings. In particular the base64 encoding is implemented but the Tcl ensemble scheme TIP #112 can be used to provide simple extension of the implemented formats.
The binary command ensemble will be extended to include two new subcommands, encode and decode. Each subcommand will accept two arguments. The first is the name of an encoding format and the second is the data to be operated upon.
binary encode format ?-option valu