set_stream
Description:
Replaces the wrapper's internal stream with stream
.
Don't forget, if stream
is not of the same encoding as the old stream, you'll want to call
set_encoding as well.
Note: caller is responsible for its own reference on stream
.
Parameters:
this | |
stream |
a Stream |