1tcl::transform::zlib(n)Reflected/virtual channel supporttcl::transform::zlib(n)
2
3
4
5______________________________________________________________________________
6
8 tcl::transform::zlib - zlib (de)compression
9
11 package require Tcl 8.6
12
13 package require tcl::transform::core ?1?
14
15 package require tcl::transform::zlib ?1?
16
17 ::tcl::transform::zlib chan ?level?
18
19______________________________________________________________________________
20
22 The tcl::transform::zlib package provides a command creating a channel
23 transformation which zlib compresses the written data, and decompresses
24 on reading.
25
26 The internal TclOO class implementing the transform handler is a sub-
27 class of the tcl::transform::core framework.
28
30 ::tcl::transform::zlib chan ?level?
31 This command creates a zlib compressor transformation on top of
32 the channel chan and returns its handle.
33
34 The level specifies how much effort is put into the compression,
35 from 0 to 9, and defaults to 4.
36
38 This document, and the package it describes, will undoubtedly contain
39 bugs and other problems. Please report such in the category virtchan‐
40 nel of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist].
41 Please also report any ideas for enhancements you may have for either
42 package and/or documentation.
43
44 When proposing code changes, please provide unified diffs, i.e the out‐
45 put of diff -u.
46
47 Note further that attachments are strongly preferred over inlined
48 patches. Attachments can be made by going to the Edit form of the
49 ticket immediately after its creation, and then using the left-most
50 button in the secondary navigation bar.
51
53 channel transformation, compression, decompression, reflected channel,
54 tip 230, tip 234, transformation, virtual channel, zlib
55
57 Channels
58
60 Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
61
62
63
64
65tcllib 1 tcl::transform::zlib(n)