WriteToStream
Type
statement
Summary
Write data to a stream. Stream:An expression that evaluates to a stream.
Syntax
write <Buffer> to <Destination>
Description
Write some data to a stream. If not all of the data can be written, fails with an error.
warning
If the stream is able to accept only part of the data, some streams will write that part of the data and discard the rest. This may cause loss of data.
Parameters
Name | Type | Description |
---|---|---|
Buffer | An expression that evaluates to binary data. |