stream
The following is a list of functions in the category stream
Function | Description |
---|---|
close | This will close an open stream |
flush | Write the content of the stream's buffers to its destination. |
get_stream_error | Get the most recent stream error. |
open_file | This will open a file stream. |
open_response | This will open a response text write-only stream that will be written to the http response. |
open_uri | This will open a read or write stream for a URI. |
Evaluate and convert 0 or more values to its string value, then write them to stdout. An undefined value is represented by '<undefined>'. | |
println | Evaluate and convert 0 or more values to their string value, then write them to stdout. A newline character ('\n') is written after the last value. An undefined value is represented by '<undefined>'. |
read | Read a UTF-8 text stream up to a specified number of octets. The stream must contain valid UTF-8 or an error is thrown. |
read_to_base64Binary | Read a stream up to a specified number of octets. The result will be the internal memory of a base64Binary value. |
read_to_hexBinary | Read a stream up to a specified number of octets. The result will be the internal memory of a hexBinary value. |
readln | Read a UTF-8 text stream line. The stream must contain valid UTF-8 or an error is thrown. |
stream | This will return the streamNumber for a streamId. This function useful to obtain the number of the automatically opened standard streams "console", "stderr" and "stdout" as well and any other open stream. |
write | Evaluate and convert 0 or more values to its string value, then write them to stream. An value with an undefined value is represented by '<undefined>'. |
write_internal | Write a value's internal memory. This is especially useful for writing data type base64Binary and hexBinary. |
writeln | Evaluate and convert 0 or more values to its string value, then write them to stream. A newline character ('\n') is written after the last value. An undefined value is represented by '<undefined>'. |