tcl::tra...::base64(n)

πŸ“¦
version 2.0 Β· 2 versions
, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ tcl::tra...::base64(n) ✨

okay so bestie, welcome to the manual page for tcl::transform::base64 β€” she lives under the Reflected/virtual channel support section of the tcllib manual, and she is literally the moment πŸ’…


🌸 NAME 🌸

tcl::transform::base64 β€” Base64 encoding transformation


πŸŽ€ SYNOPSIS πŸŽ€

package require Tcl 8.6 9

package require tcl::transform::core ?1.1?

package require tcl::transform::base64 ?1.1?

::tcl::transform::base64 chan

πŸ’– DESCRIPTION πŸ’–

The tcl::transform::base64 package hands you a command that makes a channel transformation β€” and no cap, here's the tea πŸ«–: this transformation base64 encodes the data you write into it, and decodes the data you read out of it. Both directions, one transformation, iconic behaviour only.

A related transformation in this module is tcl::transform::hex β€” same vibe, different encoding, go look her up too πŸ¦‹

The internal TclOO class implementing the transform handler is a subclass of the tcl::transform::core framework. So like, she's got good genes, she inherits from a whole framework, main character energy fr fr πŸ‘‘


⭐ API ⭐

  • ::tcl::transform::base64 chan β€” creates a base64 transformation on top of the channel chan and returns its handle. That's it, that's the whole command, and she ate πŸ’…

😭 BUGS, IDEAS, FEEDBACK 😭

This document, and the package it describes, will undoubtedly contain bugs and other problems. It's giving "nothing is perfect and neither is this manpage" πŸ™ˆ Please report such in the category virtchannel of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist](http://core.tcl.tk/tcllib/reportlist). Please also report any ideas for enhancements you may have for either the package and/or the documentation β€” she's growing, she wants notes πŸ“

When proposing code changes, please provide unified diffs, i.e the output of diff -u. No vague "pls fix", bestie, give us the actual diff πŸ”₯
Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar. iykyk 🧚

πŸ’œ KEYWORDS πŸ’œ

base64, channel transformation, reflected channel, tip 230, tip 317, transformation, virtual channel


🌈 CATEGORY 🌈

Channels


Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>


and that's the whole page, bestie β€” stay encoded, stay decoded, stay slaying πŸ’–βœ¨

this one shipped with tcllib, version 1.1, page tcl::tra...::base64(n) β€” mwah πŸŽ€

πŸ“¦ where this page comes from