Go to the first, previous, next, last section, table of contents.


]writeStreamByLines

Function: ]writeStreamByLines { [block] stream -> }
file: 10-C-utils.t
package: muf
status: alpha

This function writes [block], which will usually be a block of characters, to stream in chunks representing a single line whenever possible, but always in chunks small enough to fit in the stream's buffer.

This function is not normally invoked directly by user code: Instead, the server generates a call to it if writeStream encounters a string too long to fit in the stream. This is more efficient than having user code directly call ]writeStreamByLines.


Go to the first, previous, next, last section, table of contents.