Blob.CreateInStream(InStream [, TextEncoding]) Method
Version: Available or changed with runtime version 1.0.
Creates an InStream object for a binary large object (BLOB). This enables you to read data from the BLOB.
Blob.CreateInStream(InStream: InStream [, Encoding: TextEncoding])
The InStream object type that has been created.
The encoding that will be used by the stream. The default encoding is MSDos.
Optionally, you can specify the encoding on the stream. By specifying the File Handling and Text Encoding, you ensure that all the language-specific characters are represented correctly in Dynamics 365 when you read data and write data. The following example illustrates how you can set the encoding to Windows when you create a stream for a BLOB field.
For more information, see File Handling and Text Encoding.