base64::ADD (private)
base64::ADD x
Defined in packages/acs-tcl/tcl/tcllib-doc-procs.tcl
Append a character to the pure-Tcl Base64 encoder's caller-owned output state, inserting line breaks as needed. This version-dependent helper requires its encoder's local variables and is not a standalone API.
- Parameters:
- x (required)
- Character to append.
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # The line length check is always done before appending so # that we don't get an extra newline if the output is a # multiple of $maxlen chars long. upvar 1 maxlen maxlen length length result result wrapchar wrapchar if {$maxlen && $length >= $maxlen} { append result $wrapchar set length 0 } append result $x incr length returnXQL Not present: Generic, PostgreSQL, Oracle