random(n) ?.? memchan "Memory channels"

NAME

random - Create and manipulate random channels

SYNOPSIS

package require Tcl
package require memchan

random

DESCRIPTION

The command described here is in the planning stages and not available yet.

random
creates a random channel which absorbes everything written into it and uses it as a seed for a random number generator. This generator is used to create a random sequence of bytes when reading from the channel. It is not possible to seek the channel.

Memory channels created by random provide no additional options to set or query.

A random channel is always writable and readable. This means that all fileevent-handlers will fire continuously.

SEE ALSO

memchan, fifo, fifo2, null

KEYWORDS

random, in-memory channel, channel, i/o