void CosStreamSetData(CosObj stream, ASStm sourceP, ASInt32 sourceStart, ASBool encodeTheSourceData, CosObj attributes, CosObj encodeParms, ASInt32 sourceLength);
stream | Stream to be modified
|
sourceP | source stream to be added.
|
sourceStart | The byte offset to the starting point of the stream to be added.
|
encodeTheSourceData | Flag indicating whether the source data is to encoded via filters specified in the attributes.
|
attributes | dictionary containing string data attributes, including its length and encoding parameters.
|
encodeParms | Parameters to be used for encoding (if any).
|
sourceLength | length of data to be read from the source, or
-1 to read to EOF. |