Method Shuffler.Shuffler()->shuffle()
- Method
shuffle
Shuffle
shuffle(Stdio.NonblockingStream
destination
,int
|void
start
,int
|void
length
)- Description
Create a new Shuffle object.
The destination has to support nonblocking I/O through
set_nonblocking_keep_callbacks
andset_write_callback
member functions.- Note
For destinations that connect directly to a kernel-filedescriptor please note that the filedescriptor will be dup()ed for the duration of the shuffle. This means that if the original destination object is kept, we temporarily use two filedescriptors for it.