A channel transform is a mapping applied at the byte-level to a channel . It operates on bytes rather than strings . Tcl converts to/from the channel's encoding at a higher level (closer to the script level) than transforms operate at .