Skip to main content
Version: 4.4.1

Stream activities overview

Activities

IconActivityDescription
Close StreamCloses the specified stream.
Copy StreamCopies data from current position in one stream to current position in another stream.
Convert Text EncodingThe text in the data stream is converted in accordance with the configuration.
Create Memory StreamCreates a memory stream.
Detect Code Page From BOMDetects, through the Byte Order Mark (BOM), the code page of the current data. BOM bytes is read from current position of stream. If BOM found the stream is repositioned to first non BOM byte.
Move Stream PositionMoves the current position in a stream If offset is negative, the new position is required to precede the position specified by origin by the number of bytes specified by offset. If offset is zero (0), the new position is required to be the position specified by origin. If offset is positive, the new position is required to follow the position specified by origin by the number of bytes specified by offset.

The stream position can be set beyond the stream length. This implementation is allowed by Microsoft’s own implementation of the Seek method of the Stream class. However, if the user attempts to read from the stream, the read method would return -1 (end of stream reached).
Read BytesReads bytes from a stream.
Read StringReads a string from a stream.
Read TextReads a text with unspecified termination character from a stream.
Write Binary DataWrites a primitive type from a stream.
Write BOMWrites byte order mark (BOM) to the specified stream.
Write Length Formatted String To StreamWrites string to a data stream.
Write Text To StreamWrites a text with unspecified termination character (raw text) to a data stream.
Base64 EncodeBase64 encodes data from one stream to another.
Base64 DecodeBase64 decodes data from one stream to another.