CosStreamSetData
void CosStreamSetData(CosObj stream, ASStm sourceP, ASInt32 sourceStart, ASBool encodeTheSourceData, CosObj attributes, CosObj encodeParms, ASInt32 sourceLength)Essentially identical to CosNewStream, except that the result is a modification of an existing stream.
Parameters
stream: CosObjStream to be modified
sourceP: ASStmsource stream to be added.
sourceStart: ASInt32The byte offset to the starting point of the stream to be added.
encodeTheSourceData: ASBoolFlag indicating whether the source data is to encoded via filters specified in the attributes.
attributes: CosObjdictionary containing string data attributes, including its length and encoding parameters.
encodeParms: CosObjParameters to be used for encoding (if any).
sourceLength: ASInt32length of data to be read from the source, or -1 to read to EOF.
Returns
void